This article collects the History of Nairn, Nairn ( ; ) is a town and Royal burgh in the Highland council area of Scotland. It is an ancient fishing port and market town around east of Inverness. It is the traditional county town of Nairnshire.

Pre-history

Human settlement in Palaeolithic and Mesolithic Scotland is known to have been established around 10,000 years ago and such communities are likely to have been present in the fertile lands and fishing areas of Nairn at this time. In the Mesolithic era easy access to flint provided tools. Retouched flint flakes, tardenoisian-type microlithic forms have been found within the Culbin Sands indicating close by communities in this age around 8,000 – 5,000 BC.

During the Neolithic period from 4,000 BC – 2,500 BC humans were developing water craft capable of deeper sea voyages and again the mouth of the river where Nairn now sits would have been a regular travel point and easy shelter. Nearby mixed-forests would provide wolf, wild boar and red deer meat and resources for tooling and clothing.

Neolithic to Late Bronze Age artefacts. Stone axes, flint arrowheads, saws and scrapers have been discovered south of Nairn in the Slagachorrie or () "Hollow of the Corrie" area. Known locally as "The Flint Pit" just two miles south of Nairn. Many of the archaeological finds noted here are held in Nairn Museum. These discoveries indicate a hunter's settlement with items designed for the preparation of animals. As well as this two significant circular stone-walled huts believed to also date from the Bronze Age among over thirty others. With these sites within fifteen miles of Nairn it is believed Nairn may have also contained sites which were built over in later centuries.

1AD to 12th Century

The Picts

Relics of religious Pictish worship in the form of stone circles can be seen in Nairnshire. In Moyness (), Auldearn, Urchany (), Ballinrait (), Dalcross, Croy (), Daviot () and in the Viewfield area of the town of Nairn itself. In later years many of these areas became linked with local superstitions, laws and ritual. The Moyness Standing Stone contained a logan, or rocking stone. Used to determine the guilt of someone accused of crime. Should the stone move when they are placed upon it the person was found to be guilty. Dundeasil near Clunas () had the local custom of walking in circles around it thrice before starting a work day for good luck. It is likely some of the elements found within Nairn town held the same superstitions.

In 86 AD Agriocola dispatched a Roman fleet from the Firth of Forth to explore the island, the fleets sailors relayed this information to the Geographer Ptolemy. On his Strasburg Edition a river named Loxa can be seen to be located in Nairn or Lossiemouth. Evidence of local settlements along the coast are noted though none specifically can be identified as Nairn. In the Delnies area of Nairn a rounded earthwork Roman Camp was discovered indicating some habitation, possibly temporary during this time period but very little remains of this site today. This is supported by urns containing silver Roman coins from the same era being discovered within the town of Nairn though the exact location of this discovery is unknown similar coins were found in nearby Auldearn.

Ekkailsbakki The true origin and founding of the town of Nairn is unknown, it is believed from the Narmin of Boece that it was here that Sigurd, Earl of Orkney built his burg in the latter part of the 9th century named Ekkailsbakki at the mouth of the Findhorn river when its mouth was where the Old Bar area of Nairn is now located. This is located within what was the Culbin estate, a name of Danish origin. Sigurd, Earl of Orkney took control of the area known as Moray inclusive of Nairn. There is also recorded evidence of a castle being in existence in Nairn in the 11th century when it was attacked by Danes alongside those castles of Forres and Elgin who defeated the Royal Army of Malcolm II.

St. Ninian The existence of St. Ninian on the seal of Nairn shows a connection to the figure, however three people are identified as potentially being or having all been St Ninian: Saint Finnian of Moville, Saint Finnian of Clonard, and Saint Finbarr of Cork. The earliest mention of this figure is in AD 731 in The Ecclesiastical History of the English People but he is believed to have died by AD 432. It is unclear if a figure known as St. Ninian visited Nairn or if the figure was brought to worship by an outside force. The first account of Christianity in Nairn is brought by St. Columba where in 563, he travelled to Scotland. He visited the pagan King Bridei in 565 who controlled the area containing Nairn at the time from his fort in Inverness. He was unable to convert the king but did become a trusted and respected person of the king. It was at this time he travelled as a missionary throughout the Highlands and to Nairn to preach Christianity.Mc Carthy, Daniel P.,'The Chronology of Saint Columba's Life’, in Moran, P. & Warntjes, I. (eds), Early Medieval Ireland and Europe: Chronology, Contacts, Scholarship - Festschrift for Dáibhí Ó Cróinín, (Turnhout, Belgium: Brepols, 2015), pp. 3–32 A chapel discovered in the Lochloy area of Nairn is believed to have been from this era but no records remain of which Saint it was dedicated to.

The early Kings of Alba

Nairn was likely under control of the Mormaer of Moray given its continued ownership in future years under the title Earl of Moray. From Findláech of Moray in 1014 through to Macbeth when he died in 1057. From 1034 to 1040 Duncan I of Scotland was King of Alba and basis of the "King Duncan" in Shakespeare's play Macbeth. When Duncan died on 14 August 1040 he was buried in Elgin when trying to attack Moray and so it is believed Macbeth would at this time have had control over the area of modern Nairnshire as far as the town of Nairn if not also Forres and Elgin. Macbeth becoming king after the death of Duncan in 1040.

Macbeth was succeeded by Malcolm III of Scotland 1058 and it is in 1060 we see the first Baron of Cawdor, Hugh de Cadella. Hugh is noted to have served Malcolm III and was granted the title of Baron. Malcolm III had taken over the lands of Macbeth furthering the evidence this title was held by the Mormaer of Moray historically. The Barons, later to become Thanes of Cawdor would go on to hold titles of Sheriff of Nairn several times throughout history and much of the land of modern-day Nairn.

12th Century The Baron of Cawdor In 1104 Scotland King Edgar granted the lands of Cawdor to Gilbertus de Cadella, the son of Hugh and second Baron of Cawdor. This title had passed to Alexander de Cadella, son of Gilbertus by 1112. Alexander having assisted King Alexander I prevent his assassination by clans Macdonald, Murray and Cummings. Both appointments including control over the lands of Nairn

Nairn was included traditionally within the diocese of Moray believed to be formed in the reign of Alexander I around 1122 which extended to Spey to the River Beauly. The existence of a later writ evidences at this time much of the land of Nairn and where Nairn castle would be sited had previously belonged to the church or to the Bishop of Moray himself. Gregoir of Moray is recorded however as the first Bishop of Moray, inclusive of Nairn in 1114.

Royal Burgh of Nairn David I of Scotland (Dauíd mac Maíl Choluim) took possession of Celtic Moray including Nairn and as far north as Inverness 1130 from Óengus of Moray.A.O. Anderson, Scottish Annals, p. 167; Anderson uses the word "earldom", but Orderic used the word ducatum, duchy. He encouraged settled industry and feudal ruling ideals in nearby towns and the city of Inverness. Inverness became a hub of ship building while the surrounding towns like Nairn, Forres and Elgin were fishing ports focused on herring using the produced ships of Inverness. At this time the Earldom of Moray, the hereditary rules of Moray was removed as a title.

The existence of Nairn as a Royal Burgh is evidenced to date from the time of David I. James VI submitted a charter of confirmation, approved by act of parliament in 1597 which refers to a charter of Alexander II, when the king granted land to the Bishop of Moray. This was in turn a continuation of a charter by William the Lion, which was confirming rights granted by David I. The existence of the original documents by David I of Scotland, William the Lion and Alexander II no longer exist in physical form and are only referenced.

MacHeths insurrection Wymund who took the name Malcolm MacHeth, the son of Óengus of Moray, the former King of Moray, while supported by the King of Norway attempted to raise an insurrection against David I with men from Inverness, Forres, Elgin and Nairn. This insurrection failed and MacHeths was captured, confined in Roxburgh. In 1153 Malcolm IV, son of David I was crowned and took control of the Moray area. Men in Nairn were taken from their homes and redistributed to other areas of Malcolm's kingdom to reduce the growing dissent of the area. An introduction of English speaking Knights and Squires in significant lands as employers and merchants with the native speaking Scottish Gaelic residents served to encourage the growth of English to the more dominant language in Nairn and the surrounding areas as it is in the modern day. This was furthered by the installation of English speaking Christian churches in the town.

William the Lion

In 1165 control of Nairn came to William the Lion which he exerted control over from nearby Inverness from 1179 and was known to visit Nairn regularly staying at Nairn Castle. The castle of Nairn stood in what was known as Constabulary Garden near the High Street to the south of this exists in modern-day Nairn Castle Lane and Castle Square. To the bottom of Castle Lane near the River Nairn remains of what is believed to be the steps for loading goods to the castle from the river. One side of this castle was protected by the River Nairn and the north and west sides were protected by ramparts and ditches, the entrance being by a drawbridge. The castle ground extended as far as the present Bridge Street, and was enclosed by a stout palisade and earthwork. William the Lion created the first governor and sheriff of Nairn and its castle by naming Baron William Pratt as such where a regular garrison of royal troops would be based. The Burgess was named as Andrew Cumming. Both Pratt and Cumming being names of English origin there are believed to have been English nobles or lowland Scots.

A writ in the time of William the Lion shows the Bishop of Nairn had given possession of lands in Nairn to King William for the expansion of Nairn Castle. Implying much of the land of Nairn and the castle had previously belonged to the church or to the Bishop of Moray himself. Possession of Auldearn was provided in compensation.

It was in Nairn in the autumn of 1196 that William the Lion was to receive "all his enemies" from Harold MacMadit who had previously occupied Caithness and whose son had sought to revolt against the king. Harold allowed those prisoners to escape in the Lochloy area of Nairn including his son Thorfinn. Allowing them to escape as this was his only heir. William left Nairn bringing Harold to Edinburgh castle to wait his son being traded as hostage.

13th Century Edward I, Lord Paramount In 1207 we see the first recorded Dean of Moray, head of the Diocese of Moray by the name of Freskin with Bricius de Douglas and Andreas de Moravia as bishops below him. Alexander II, William's son became ruler of Nairn after 1214 and shortly after men from the surrounding garrisons and Nairn were needed to put down a revolution of the MacHeths former holders of the title King of Moray but King Alexander II is not known to have visited Nairn with significance during his rule. His son King Alexander III likewise in his rule of Nairn from 6 July 1249 – 19 March 1286 is not known to visit.