Mentioned for the first time in 1018, the St. Mary's Church, owned by the bishops of Elne, was acquired by count Wilfred II of Cerdanya, who made their capital in the town, in 1025. In 1094 count William I ordered the construction of a monastery here, which was founded in 1097 and entrusted to the Augustinians.
Until 1167, the priory acquired numerous privileges and possessions, including castles and villages. In 1356 King Peter III of Aragon ceded to the monks the old palace of the counts.
In the 14th century the church was fortified with a line of walls featuring pyramidal merlons. The priory continued to increase in importance until its secularization in 1592. After the French Revolution in 1789 it was repeatedly modified.
The church, in Romanesque style, has a façade in pink marble, surmounted by a tympanum decorated by a Madonna enthroned with Child and Angels. The columns supporting the archivolts have capitals with rampaging lions, palms and sheep. The circular apse features exteriorly Lombard bands and a sawtooth-shaped frieze, as well as three windows with archivolts over small columns.
The interior is on a nave and two aisles. It houses a retablo by Jaume Cascalls (1345). The bell tower is in Lombard Romanesque style; it has Lombard bands decorating each of the three storey, the middle one having two windows and the upper one a large arch.
References:The Church of St Donatus name refers to Donatus of Zadar, who began construction on this church in the 9th century and ended it on the northeastern part of the Roman forum. It is the largest Pre-Romanesque building in Croatia.
The beginning of the building of the church was placed to the second half of the 8th century, and it is supposed to have been completed in the 9th century. The Zadar bishop and diplomat Donat (8th and 9th centuries) is credited with the building of the church. He led the representations of the Dalmatian cities to Constantinople and Charles the Great, which is why this church bears slight resemblance to Charlemagne's court chapels, especially the one in Aachen, and also to the Basilica of San Vitale in Ravenna. It belongs to the Pre-Romanesque architectural period.
The circular church, formerly domed, is 27 m high and is characterised by simplicity and technical primitivism.