Moray (or Elginshire) (pronounced "Murray" and spelled Moireibh in Gaelic) is one of the registration counties of Scotland, bordering Nairnshire to the west, Inverness-shire to the south, and Banffshire to the east. It was formerly in use as a local government county until 1975, when Elgin was the county town.
Prior to 1889 there were two large detached portions of Moray situated locally in Inverness-shire, and a corresponding part of Inverness-shire situated locally in Moray. With the Local Government (Scotland) Act 1889 these parts were merged into the areas in which they locally lay. The county was officially called Elginshire,sharing the name of the Elginshire parliamentary constituency, so named since 1708. The area became officially known as Moray after 1930 in all official contracts however the term "Morayshire" was introduced as hand-written ledgers found there were issues with, at that time, distinguishing Moray with Norway and Morar.
In 1975, under the Local Government (Scotland) Act 1973, most of the county was combined with Aberlour, Buckie, Cullen, Dufftown, Findochty, Keith and Portknockie areas of the county of Banffshire to form the Moray district of the Grampian region. Grantown-on-Spey and Cromdale areas were combined with Kingussie and Badenoch areas of the county of Inverness-shire to form the Badenoch and Strathspey district of the Highland region.
In 1996 this district was superseded by the council area of Moray 1996, under the provisions of the Local Government etc. (Scotland) Act 1994.From Wikipedia - click for full entry