Based in Edinburgh, the National Archives of Scotland (NAS) are the national archives of Scotland. The NAS claims to have one of the most varied collection of archives in Europe. It is the main archive for sources of the history of Scotland as an independent state (see Kingdom of Scotland), her role in the British Isles and the links between Scotland and many other countries over the centuries.
The NAS changed its name from the Scottish Record Office on 7 January 1999 and is both an associated department and Executive Agency of the Scottish Government, headed by the Keeper of the Records of Scotland. The Agency is responsible to the Scottish Minister for Europe, External Affairs and Culture. Its antecedents date back to the 13th century.
It is responsible for selecting, preserving, and promoting and making available the national archives of Scotland. It also has a role in records management more generally.
The National Archives of Scotland is based at three locations in Edinburgh: HM General Register House and West Register House in the city centre, which are open to the public, and Thomas Thomson House in the Sighthill area of the city which is the main repository and also houses a conservation department and other offices. Access to the archives is open to members of the public.
More information on the Wikipedia page 
The website is .