The Church de San Andrés is located on the site of a former church from the times of Moorish occupation. The former church had been frequented as a parish church by the patron saint of Madrid, San Isidro Labrador, and his wife Santa María de la Cabeza, who lived nearby.
The adjacent chapel of San Isidro was built at the site of the saint's house. Its construction began in 1657, after the saint was canonized in 1622. Further reconstructions were performed in 1663 and 1669, and later in 1783 and 1789. The initial construction in Baroque style was fashioned by José de Villarreal, and later Pedro de la Torre and Juan de Lobera. Much of the internal decoration, including paintings, were destroyed during the Spanish Civil War.
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.