Edinburgh (; Scottish Gaelic: Dùn Èideann) is the capital of Scotland and its second largest city, after Glasgow, which is 45 miles (72 km) away to the west.
It is in the south-east of Scotland, on the east coast of Scotland's Central Belt, on the south shore of the Firth of Forth, on the North Sea and, because of its rugged setting and vast collection of Medieval and Georgian architecture including numerous stone tenements, it is often considered one of the most dramatic cities in Europe. The city is one of Europe's major tourist destinations, attracting around 13 million visitors a year, and is the second most visited tourist destination in the United Kingdom, after London.
It has been the capital of Scotland since 1437 (replacing Scone) and is the seat of the Scottish Parliament. The city was one of the major centres of the Enlightenment, led by the University of Edinburgh, gaining the nickname Athens of the North. The Old Town and New Town districts of Edinburgh were listed as a UNESCO World Heritage Site in 1995. There are over 4,501 listed buildings within the city. In the census of 2001, Edinburgh had a total resident population of 448,624.
Edinburgh is well-known for the annual Edinburgh Festival, a collection of official and independent festivals held annually over about four weeks from early August. The number of visitors attracted to Edinburgh for the Festival is roughly equal to the settled population of the city. The most famous of these events are the Edinburgh Fringe (the largest performing arts festival in the world), the Edinburgh International Festival, the Edinburgh Military Tattoo, and the Edinburgh International Film Festival.