Edinburgh was a burgh constituency represented in the Parliament of Scotland and the Convention of the Estates to 1707.