The size of the tower was motivated by a competition of the communal authority with the nearby castle of the Order of Calatrava.
In the 18th century, it was decided to demolish the Gothic church, at the time in poor state (a column in the choir had collapsed), and to replace it with a Baroque building based on the Basilica of Our Lady of the Pillar at Zaragoza, with a higher capacity.
Peter and Paul, while in the second are four Archangels flanking a large sculpture of St. Mary; in the top section are St. Thomas of Aquino on the left and St. Vincent Ferrer on the right.
The aisles are instead covered by a groin vault, while the lateral chapels are characterized oval and circular domes.
The interior houses several paintings, the most relevant being a Gothic polyptych attributed to the workshop of Domingo Ram, including several predellas and a depiction of St. Mary Magdalene.