The Convent of San Ildefonso de la Compañía de Jesús, founded by testament by the Frexnense Alonso de Paz, was one of the seven educational centers of the Compañía de Jesús that between the second half of the 16th century and the first half of the 17th welcomed Extremadura together with those of other towns in the region such as Plasencia, Cáceres, Llerena, Badajoz, Higuera la Real and Fuente del Maestre.
The ubiquity of these educational centers did not correspond to any strategic or territorial plan to implant these centers in more or less extensive areas, but on the contrary, it was based solely and exclusively on economic reasons: where there was a patron who could pay for the works for the construction of the building it was where a teaching center would be built, as is the case of Fregenal de la Sierra and the businessman Alonso de Paz.
At one in the afternoon on June 4, the doors of the old church of San Ildefonso de la Compañía de Jesús de Fregenal de la Sierra reopened this old temple that today is part of the enormous heritage recovered within the Fregenal Historical-Artistic Complex, declared a Site of Cultural Interest by the Junta de Extremadura in 1991. This last inclusion implies the recovery of the baroque jewel par excellence of the town, without despising the Sanctuary of Our Lady of Remedies, inserted in the very heart of the town.