Before the Act of Union 1707, the barons of the constabulary of Haddington (now called East Lothian) elected commissioners to represent them in the unicameral Parliament of Scotland and in the Convention of Estates. After 1708, Haddingtonshire returned one member to the House of Commons of Great Britain and later to the House of Commons of the United Kingdom.
In February 1707, Cockburn and Nisbet were elected by the other shire commissioners to serve among the Scottish representatives to the first Parliament of Great Britain.