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 Temple of Edfu is one of the best preserved ancient shrines in Egypt. It was built in the Ptolemaic Kingdom between 237 and 57 BC.
Edfu was one of several temples built during the Ptolemaic Kingdom, including the Dendera Temple complex, Esna, the Temple of Kom Ombo, and Philae. Its size reflects the relative prosperity of the time. The present temple initially consisted of a pillared hall, two transverse halls, and a barque sanctuary surrounded by chapels. The building was started during the reign of Ptolemy III Euergetes and completed in 57 BC under Ptolemy XII Auletes. It was built on the site of an earlier, smaller temple also dedicated to Horus, although the previous structure was oriented east–west rather than north–south as in the present site.