Loriga was an ecclesiastical parish of the vicarage of the Royal Padroado and its Matriz Church was ordered to construct in 1233, by King Sancho II. This church, was to the invocation of "Santa Maria Maior", and constructed over the ancient small Visigothic chapel (there is a lateral block with Visigoth inscriptions visible). Constructed in the Romanesque-style it consists of a three-nave building, with hints of the Old Cathedral of Coimbra. This structure was destroyed during the 1755 earthquake, and only portions of the lateral walls were preserved.