The Moorish Castle is the name given to a medieval fortification in Gibraltar comprising various buildings, gates, and fortified walls, with the dominant features being the Tower of Homage and the Gate House. Although sometimes compared to the nearby alcazars in Spain, the Moorish Castle in Gibraltar was constructed by the Marinid dynasty, making it unique in the Iberian Peninsula.
The Moorish occupation is by far the longest in Gibraltar's recorded history, having lasted from 711 to 1309 and then again from 1333 to 1462, a total of 727 years.
Construction of the Moorish Castle commenced in the 8th century AD. Its walls enclosed a considerable area, reaching down from the upper part of the Rock of Gibraltar to the sea. The most conspicuous remaining parts of the Castle are the upper tower, or Tower of Homage, together with various terraces and battlements below it, and the massive Gate House, with its cupola roof.
The present Tower of Homage, and most of what is visible today of the Castle, was rebuilt during the second Moorish period of occupation in the early 14th century, after its near destruction during a reconquest of Gibraltar by the Moors following a re-occupation by Spanish forces from 1309 to 1333.
References:The Walls of Constantinople are a series of defensive stone walls that have surrounded and protected the city of Constantinople (today Istanbul) since its founding as the new capital of the Roman Empire by Constantine the Great. With numerous additions and modifications during their history, they were the last great fortification system of antiquity, and one of the most complex and elaborate systems ever built. They were also the largest and strongest fortification in both the ancient and medieval world.
Initially built by Constantine the Great, the walls surrounded the new city on all sides, protecting it against attack from both sea and land. As the city grew, the famous double line of the Theodosian Walls was built in the 5th century. Although the other sections of the walls were less elaborate, they were, when well-manned, almost impregnable for any medieval besieger.