Recognised as the capital of Scotland since at least the 15th century, Edinburgh is the seat of the Scottish Government, the Scottish Parliament and the supreme courts of Scotland. The city's Palace of Holyroodhouse is the official residence of the monarch in Scotland. The city has long been a centre of education, particularly in the fields of medicine, Scots law, literature, philosophy, the sciences and engineering. It is the second largest financial centre in the United Kingdom (after London) and the city's historical and cultural attractions have made it the United Kingdom's second most visited tourist destination attracting 4.9 million visits including 2.4 million from overseas in 2018.