The Castle of the Moors is a hilltop medieval castle built by the Moors in the 8th and 9th centuries. It was an important strategic point during the Reconquista, and was taken by Christian forces after the fall of Lisbon in 1147. It is classified as a National Monument, part of the Sintra Cultural Landscape, a UNESCO World Heritage Site.
During the second half of the 12th century, the chapel constructed within the walls of the castle became the parish seat. This was followed by the remodelling and construction under the initiative of King Sancho I of Portugal. In 1375 King Ferdinand I of Portugal, under the counsel of João Annes de Almada, ordered the rebuilding of the castle. While the structure was well fortified by 1383, its military importance was progressively diminishing as, more and more, the inhabitants were abandoning the castle for the old village of Sintra.
By 1493 this chapel was abandoned and later only used by the small Jewish community of the parish. The Jews occupying and using the structures in the castle were expelled by Manuel I of Portugal, and the castle was completely abandoned.
The 1755 Lisbon earthquake caused considerable damage to the chapel and affected the stability of the castle. By 1838 the towers were already in ruins, when in 1840 Ferdinand II of Portugal took up the task of conserving and improving the condition of the castle.
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.