Edinburgh is the capital city of Scotland, situated in Lothian on the southern shore of the Firth of Forth. It is the second most populous city in Scotland and the seventh most populous in the United Kingdom. Edinburgh has been recognised as the capital of Scotland since at least the 15th century, but political power moved south to London after the Union of the Crowns in 1603 and the Union of Parliaments in 1707. After nearly three centuries of unitary government, a measure of self-government returned in the shape of the devolved Scottish Parliament, which officially opened in Edinburgh in 1999.
Edinburgh is rich in associations with the past and has many historic buildings, including Edinburgh Castle, Holyrood Palace, the churches of St. Giles, Greyfriars and the Canongate, and an extensive Georgian New Town built in the 18th century. Edinburgh's Old Town and New Townare jointly listed as a UNESCO World Heritage Site.