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:Linderhof is the smallest of the three palaces built by King Ludwig II of Bavaria and the only one which he lived to see completed.
Ludwig II, who was crowned king in 1864, began his building activities in 1867-1868 by redesigning his rooms in the Munich Residenz and laying the foundation stone of Neuschwanstein Castle. In 1868 he was already making his first plans for Linderhof. However, neither the palace modelled on Versailles that was to be sited on the floor of the valley nor the large Byzantine palace envisaged by Ludwig II were ever built.
Instead, the new building developed around the forester's house belonging to his father Maximilian II, which was located in the open space in front of the present palace and was used by the king when crown prince on hunting expeditions with his father.