There now arose controversy as to the succession of the title. In 1777 it was incorrectly assumed by Captain William Hamilton, the great-great-great-great-grandson of John Hamilton of Coltness, younger son of John Hamilton of Udston, whose other son James Hamilton was the grandfather of the second Lord, and whose grandfather John Hamilton was the brother of the aforementioned Claude Hamilton, grandfather of the first Lord Belhaven and Stenton. William voted at the Election of Scottish Peers in 1790. However, it was resolved by the Committee for Privileges of the House of Lords in 1793 that this vote was not valid. The title was instead determined in favour of William Hamilton, the seventh Lord. He was the son of Robert Hamilton of Wishaw (who was adjudged "de jure" sixth Lord), grandson of Robert Hamilton, "Younger of Wishaw", son of Robert Hamilton, 3rd of Wishaw, son of William Hamilton, 1st of Wishaw, son of John Hamilton of Udston, grandson of John Hamilton, brother of the aforesaid Claude Hamilton, grandfather of the first Lord.