Bayonne has been inhabited since roman times, when it was known as Lapurdum. Its medieval fortifications were improved by Louis XII, and Francois I, enabling the town to defend itself against a Spanish army in 1523.
Vauban visited Bayonne sometime in the 1670's, and planned more improvements to the fortifications, including the construction of additional demi-lunes and a large, quadrangular citadel to the north of the river Adour. The city itself, which lies to the south of the Adour and is bisected by the river Nive, was surrounded by a wall of 9 rather eccentric bastions.
The citadel was designed from scratch by Vauban, and is a large square work with four bastions. It saw action against the invading British forces at the end of the Peninsular War, when it was taken by General Hill after a determined defence by the French.
The fortifications of Petit Bayonne, the eastern half of the town, had four bastions and one gate, the Porte de Notre Dame. To the west, Grand Bayonne had five bastions and two gates, the Porte d'Espagne and the Porte de la Poterne. The first gate is unusual in that it enters the walls through a bastion, not through the courtine as is normally the case.
The size and shape of each bastion is very different, and there are varying lengths between them, which makes the fortifications seem less regular than some. This is probably due to the way Bayonne was fortified in several stages, with improvements added gradually.
References: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.