Roman and Islamic period . Built on a hill, it is an integral part of an important architectural ensemble. It is considered that the site of the mosque was of great importance for the different peoples and cultures that, throughout history, passed through Almonaster, the present building remaining standing for more than a thousand years, used for religious purposes by Muslims and Christians. In
Roman period it seems that a military enclave existed in the place next to a building of sacred character. where
Berber settlers, who depended on the
Walids of
Córdoba, settled. The first written testimony about Almonaster dates from 822, although the existence of the mosque is not mentioned: {{Blockquote|text=... the iqlim of al-Munastyr and the others of the kúra of Seville collected more than 35,000 dinars from the gibáya. Between the 9th and 10th centuries the mosque was erected on the site, using materials from the pre-existing Roman and Visigothic buildings, both in structure and decoration, especially
columns and
capitals. The architectural complex and the hamlet were also surrounded by a walled fence. During the
Caliphate of Córdoba, until its decomposition, the settlement had importance in the area, which it maintained years later when Almonaster became part of the
Taifa Kingdom of Badajoz. With the
Almohad invasion this mountainous area struggled to remain independent until it ended up falling in 1111. Judging by the important defensive function of Al-Munastyr, during the last years of the advance of the Christian kingdoms, the human movement around Almonaster and its mosque must have been very important.
Christian period and present time The
Christians reconquered Almonaster in the 13th century, respecting the mosque and converting it into a
chapel, making some minor modifications over the following years. In 1230, the
Military Order of the hospital, incorporated Almonaster and part of the mountain range to the
Kingdom of Portugal, making possible the repopulation of the area. However, it was not until 1253 when
Pope Innocent IV, in order to avoid disputes over the
Algarve territory, incorporated the area east of the
Guadiana to the
Crown of Castile, specifically to the
Kingdom of Seville, under the ecclesiastical lordship of the
Archbishop of Seville. Throughout the 13th and 14th centuries, practically the entire population lived sheltered behind the walls of the fortress, until the 15th century, when Almonaster ceased to be a defensive plaza. The
Archbishopric of Seville stopped paying preferential attention to the temple, leading to a slow deterioration. Documents from 1583 are preserved that give news of the state of the temple, estimating its value at 14,000
ducats and calling the mosque "
the old Moorish church". Today, in addition to being a Catholic church, the building serves as a cultural and interpretation center in the town. == See also ==