The origins of the Castillo de la Yedra could be Muslims, possibly from the Almohad era. During the 11th and 12th centuries, the first fortress was built, but the current appearance was built by Christians during the 13th and 14th centuries and during the papacy of don Pedro Tenorio. The alcázar was built by the archbishops of Toledo at the end of the 14th century. There is a keep and a small parade ground that surround the alcazar.
Its construction was designed exclusively for military use as a palace of a feudal lord or small court of medieval monarch. That is why its architecture is sober, although compensated by the beauty of the topography of its location and the surrounding landscape.
References:The Cathedral of Saint Mary Major, often called Lisbon Cathedral or simply the Sé, is a Roman Catholic cathedral located in Lisbon, Portugal. The oldest church in the city, it is the seat of the Patriarchate of Lisbon. The cathedral has survived many earthquakes and has been modified, renovated and restored several times. It is nowadays a mix of different architectural styles.
The site where it stands was the principal mosque of Lisbon when it was an Arab settlement. The construction of the cathedral started around 1150, three years after the city was conquered from the Moors during the Second Crusade. Shortly after the victory the English knight Gilbert of Hastings was named bishop of the city of Lisbon.
One good reason to visit the Cathedral is to visit its charming cloisters located in the back. There are several tombs in the cathedral, the most notable of which is the beautifully sculpted tomb of Lopo Fernandes Pacheco and his wife.