Inverness Castle sits on a cliff overlooking the River Ness. The red sandstone structure evident today was built in 1836 by architect William Burn. It is built on the site of an 11th-century (c. 1057) defensive structure. Today, it houses Inverness Sheriff Court.
The castle is said to have been built by Máel Coluim III of Scotland, after he had razed to the ground the castle in which Macbeth of Scotland according to much later tradition, murdered Máel Coluim's father Donnchad I of Scotland, and which stood on a hill around 1 km to the north-east.
The first Inverness Castle was partially destroyed by King Robert I of Scotland and a replacement castle was sacked in the 15th century by the Clan Donald during the Siege of Inverness (1429). The castle was occupied during the Raid on Ross in 1491.
In 1548 another castle with tower was completed by George Gordon, 4th Earl of Huntly (1514–1562). He was constable of the castle until 1562. The castle was later taken by the Clan Munro and Clan Fraser who supported Mary Queen of Scots during the Siege of Inverness (1562). Robert Mor Munro, 15th Baron of Foulis, chief of the Clan Munro was a staunch supporter and faithful friend of Mary Queen of Scots and he consequently was treated favourably by her son James VI.
The current Inverness Castle was built in 1836 on the site of the original one. To improve the more recent castle, a gas, light, and water system was installed.
References:The Château Royal de Collioure is a massive French royal castle in the town of Collioure, a few kilometers north of the Spanish border. The Château is the juxtaposition of at least four castles. Roussillon was conquered by the Romans around 120 BC and then occupied by the Visigoths from 418. The first mention is about a fortified site in Collioure under siege in 673, by Wamba, king of the Visigoths who lay siege to the “Castellum Caucolibéri” to subdue a rebellion.
In the 12th century, Girard II, the last independent count of the Roussillon, bequeathed his land to Alfons II, King of Aragon and Count of Barcelona. Concerned about the prosperity of Collioure, the kings of Aragon granted privileges and tax exemptions. An annual fair was established, and important works were undertaken in the castle, the port and the town.