 A document during the reign of King Afonso II of Portugal mentioned the construction of the building during the reign of Afonso I of Portugal, although archaeological proof of these statements have yet to be discovered on the site.References to Cedofeita continued throughout the 12th and 13th centuries, referring to the existence of a monastery in Cedofeita, alternating with dispatches about a religious college, continuing until the first quarter of the 13th century.The community of religious clerics adopted the orders of the Canons Regular of Saint Augustine; historically, references to the temple referred to a much larger "Convento dos Cónegos Regrantes de Santo Agostinho" ("Convent of the Canons Regular of Saint Augustine").