Dunbar is a town on the North Sea coast in East Lothian in the south-east of Scotland, approximately 30 miles (48 kilometres) east of Edinburgh and also 30 miles (48 kilometres) from the English boundary north of Berwick-upon-Tweed. Dunbar is a former royal burgh, as well as offered its name to an ecclesiastical and also civil church. The parish prolongs around 7 1/2 miles (12.1 kilometres) east to west and also is 3 1/2 miles (5.6 km) deep at greatest degree, or 11 1/4 square miles (29 km2), as well as includes the villages of West Barns, Belhaven, East Barns (abandoned) as well as several communities as well as farms. Its calculated place triggered a background filled with case and strife; but Dunbar has actually come to be a quiet dorm town popular with employees in neighboring Edinburgh, that locate it a cost effective choice to the funding itself. Until the 1960s, the population of the community was little more than 3,500. The town is loving the most recent population published for the community at 8,486, as well as there are many energetic and organized housing developments recurring. There are effectively regarded primary schools, a secondary school as well as an independent school in the community. The community is offered by Dunbar train station with links to Edinburgh and the rest of Scotland, along with London and also stations along the north-east passage. Dunbar is home to the Dunbar Lifeboat Station, the second-oldest RNLI station in Scotland. Dunbar is the native home of the traveler, naturalist and also significant conservationist John Muir. The house in which Muir was birthed is found on the High Street, and also has actually been converted into a gallery. There is also a commemorative statue beside the community clock, as well as John Muir Country Park is located to the north-west of the town. The eastern section of the John Muir Way coastal course starts from the harbour. One of the two universities to Dunbar Primary School: John Muir Campus, is called in his honour.