The first documentary reference to Santa María de Piasca is a donation from 930 making reference to a basilica just founded on the site. Little over a decade later, in 941, an agreement was recorded between 36 nuns and an unknown number of monks under an abbess Aylo, telling us that the monastery housed a community of both sexes. The monastery's dual character faced several oscillations, with the nuns leaving and returning twice. The archeological evidence of the original monastic buildings shows a small single nave church and separate spaces for the two groups.
A foundation stone records that the current church on the site, the Romanesque edifice, was dedicated in 1172 under a prior Petrus Albus. By this point the monastery had been incorporated into the larger Cluniac monastery of San Facundo y Primitivo de Sahagún (in 1122) and brought under the Benedictine Rule. The inscription also names the master of the project as Covaterio. The church has two sculpted portals, the west and the south. The portals have most likely been somewhat reconstructed, possibly with elements exchanged between the two. The triple arcade on the west façade has obviously been renovated as the central sculpture of Mary is from the sixteenth century. The two apostles (Peter and Paul) to her sides may have originally flanked an image of Christ, forming, as Ruth Bartal suggests, an abbreviated apostolado.
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.