National Records of Scotland (Scottish Gaelic: Clàran Nàiseanta na h-Alba) is a non-ministerial department of the Scottish Government. It is responsible for civil registration, the census in Scotland, demography and statistics, family history, as well as the national archives and historical records.