History
The church was built in 1765 to 1769 by the master builder Franz Duschinger on the site of the hospital chapel of the Sonnenhof, a poorhouse. An inscription above the entrance recalls this: “For the poor a comfort, for the rich a warning, for all salvation”. On 28 April 1771 it was consecrated in the presence of Maria Theresia, her son Joseph II and Archbishop Christoph Anton Migazzi, and in 1783 it became a parish church.
In 1903 a porch and a tower were added, and in 1911/12 a second bay. In front of the facade stand four stone figures that were moved here from the John Nepomuk chapel at the Schönbrunner Linie. On 21 November 1828 the body of Franz Schubert was blessed here; a plaque with a portrait relief by Robert Ullmann (1928) recalls it.
