[1] The Trinitarian Order started construction of the church in 1717 and it was sanctified in 1727, although work in the interior continued into the first half of the 18th century.
The arch is dominated by a cupola with trompe-l'œil fresco from Italian Baroque painter Antonio Galli Bibiena.
Its main work of art is an altarpiece depicting St. John of Matha and St. Felix of Valois ransoming prisoners from Turkish capture.
[3] Statues of St. Agnes and St. Catherine situated at the rear of the main altar are attributed to the Bavarian sculptor Johann Baptist Straub.
However, the Trinitarian Order was closed by Joseph II in 1782 and the comitatus (county) office took possession of the building.