 The church was erected in the late 14th century, contemporary will the San Salvador and Santa María.In 1706, the church façade was damaged during the siege of the town during the War of the Spanish Succession.This led to a refurbishment of the entire church, and a neoclassic façade, based on a design by Padre Tosca.