Moray (ˈmʌri ) Moireibh or Moireabh) is one of the 32 local government council areas of Scotland. It lies in the north-east of the country, with a coastline on the Moray Firth, and borders the council areas of Aberdeenshire and Highland.
Between 1975 and 1996 Moray, with similar boundaries, was a district of the then Grampian Region.
The name, first attested around 970 as Moreb, and in Latinised form by 1124 as Morauia, derives from the earlier Celtic forms *mori 'sea' and *treb 'settlement' (c.f. Welsh môr-tref).
During the Middle Ages, the Province of Moray was much larger than the modern council area, also covering much of what is now Highland and Aberdeenshire. During this period Moray may for a time have been either an independent kingdom or a highly autonomous vassal of Alba. In the early 12th century, Moray was defeated by David I of Scotland following a conflict with Óengus of Moray, and rule over the area was passed to William fitz Duncan.
After that the t