Rattray (historic: Rettre; occasionally: Rattery; Scottish Gaelic: Raitear), (found at grid reference NK088578) had been settled as far back as 4000 BC and was named a Royal Burgh in 1563 by Mary, Queen of Scots, "to put an end to the disputes about superiority over it between William Keith, 4th Earl Marischal and George Hay, 7th Earl of Erroll". The ancient burgh was located near to Crimond, Scotland, but the village was largely destroyed and never recovered after a storm in the 18th century that covered it in shifting sands from the nearby dunes at Rattray Head. However, there is still a small modern settlement in the area.
The nearby lagoon, Strathbeg Bay (also known as Strathbeg Water or Water of Rattray) had been an "open estuary which was navigable to trading ships" suiting itself to Starny Keppie harbour around which Rattray flourished. However, by 1654, the harbour was silting up badly and was finally cut off when shifting sands during a massive 1720 storm cut off the lagoon to form Loch Strathbeg, "trapping a small vessel laden with slates", which were subsequently used for the roofs in Crimond and Haddo House.
The harbour was guarded by two of the Nine Castles of Knuckle. The Comyn family's Castle of Rattray stood on Castlehill (at the time a rock on the coast) on the harbour side and Lonmay Castle on the north shore, of which there are little remains due to quarrying and the site being covered in sand dunes.
Still clearly visible today, the ruined St Mary's Chapel was built as a private place of worship by the Comyn family at the same time as the construction of the Castle of Rattray.
To the west of Rattray on the banks of Loch Strathbeg is the historical site Battle Fauld. The name most likely comes from the "scene of a conflict with the Danes in the time of their later invasions." Indeed, the same source explains that the local dialect and pronunciation (in 1888) used words that "are good Danish or Norwegian" and calls the type of language features used as "thoroughly Norse" to anyone "who knows anything about the Norse family of speech".