sentences:  Since then, the town would depend in one way or another from the Order until the ecclesiastical confiscations of the 19th century in Spain, when the Order properties in Spain were seized and the Grand Priory was ended.This is the most important monument in the town.Its construction began back in the 13th century as a Romanesque church, but was later modified and enlarged in the 16th and 18th centuries with the addition of some gothic elements, like a central rib vault.