The church was built around 1620 by order of the Marquises of Estepa. It is of Romanesque origin, with 18th century renovations and additions. The church originally had a Latin cross floor plan, to which the side chapels and the right nave were later added. Inside, it houses 18th century chapels and altarpieces.