The Castello di Milazzo is located on the summit of a hill overlooking the town, on a site first fortified in the Neolithic era. The castle was built as a result of the strategic importance of the Milazzo peninsula, which commands the Gulf of Patti, the body of water that separates Sicily from the Aeolian Islands. It also commands one of Sicily's most important natural harbours.
The Greeks modified it into an acropolis, and it was later enlarged into a castrum by the Romans and Byzantines.
In around 843, the Arabs began to build a castle on the ruins of the Greek, Roman and Byzantine fortifications. The castle's keep possibly dates back to this era. The castle was enlarged by the Normans and Swabians. It was extensively modified during the reign of Frederick II of Hohenstaufen.
Between 1496 and 1508, the Aragonese built walls with six semi-circular bastions, encircling the original medieval castle. Between 1525 and 1540, the Spanish built bastioned fortifications around the Aragonese walls and the settlement which surrounded it, expanding the castle into a citadel. The new fortifications were designed by the military engineers Pietro Antonio Tomasello and Antonio Ferramolino. Some outworks were added in the 17th century. Several civil buildings began to be built within the walls of the castle, including the old cathedral and various palaces.
The castle was in Habsburg hands in the first half of the 18th century, before being taken over by the Bourbons. The latter retained the castle until they lost Milazzo to Giuseppe Garibaldi in 1860. The castle was subsequently converted into a prison in 1880, and underwent a number of alterations. The prison closed in 1959 and the castle remained abandoned for a couple of decades.
It is now in good condition, and open to the public.
References:The Citadelle of Quebec is an active military installation and official residence of both the Canadian monarch and the Governor General of Canada. It is located atop Cap Diamant, adjoining the Plains of Abraham in Quebec City. The citadel is the oldest military building in Canada, and forms part of the fortifications of Quebec City, which is one of only two cities in North America still surrounded by fortifications, the other being Campeche, Mexico.
The first fortifications in Quebec were built by the Governor General of New France Louis de Buade, and completed just in time for the Battle of Quebec in 1690.
After the British conquest in the second half of the 18th century, the problem of Quebec City's defences grew more acute.