Moray; (Moireibh ˈmɤɾjəv) or Morayshire, called Elginshire until 1919, is a historic county, registration county and lieutenancy area of Scotland, bordering Nairnshire to the west, Inverness-shire to the south, and Banffshire to the east. It was a local government county, with Elgin the county town, until 1975. The county was officially called Elginshire, sharing the name of the Elginshire parliamentary constituency, so named since 1708. The registration county, for property, is, 'County of Moray', and the Lieutenancy area, for ceremonial purposes is 'Moray' or 'Morayshire'. The lieutenancy area contains a slightly smaller area than the historic county. Before 1889 there were two large exclaves of Moray situated within Inverness-shire, and an exclave of Inverness-shire situated within Moray. The Local Government (Scotland) Act 1889 transferred these exclaves to the counties which surrounded them. The Local Government (Scotland) Act 1889 established a uniform system of county councils in Scotland and realigned the boundaries of many of Scotland's counties. Subsequently, Moray County Council was created in 1890. Moray County Council was originally based in the current Elgin Sheriff Court building and moved to "County Buildings" just to the west of the courthouse after the Second World War. Historically, 'Murrayshire' and 'Morrowshire' have been alternate spellings. In 1975, under the Local Government (Scotland) Act 1973, most of the county was combined with the Aberlour, Buckie, Cullen, Dufftown, Findochty, Keith and Portknockie areas of the county of Banffshire to form the Moray district of the Grampian region. The Grantown-on-Spey and Cromdale areas were combined with the Kingussie and Badenoch areas of the county of Inverness-shire to form the Badenoch and Strathspey district of the Highland region. In 1996 the Moray district was superseded by the council area of Moray 1996, under the provisions of the Local Government etc. (Scotland) Act 1994.