The early Gothic three-aisled basilica, first mentioned in 1265, dates from the second half of the 13th century and has a retracted rectangular chancel and a square tower with a pyramidal helmet in the north-east. According to legend, the founding of the church goes back to a vow made by a Countess of Schwarzenwihrberg; When the church was being built, a picture of the Madonna was discovered on the branch of a felled tree. This picture was then transferred to the new church and the settlement next to the church was given the name Ast. Ast was first mentioned as a place of pilgrimage in 1409; the miraculous image of the Madonna with the baby Jesus on the high altar dates from the end of the 15th century. In 1616 the images and altars were removed from what was now a Calvinist church. In the Counter-Reformation from 1626 the place became Catholic again; In 1665, the now Catholic church was transformed into a baroque style. It received its current furnishings and stucco work in the 18th century. – Since 1996, a horse pilgrimage has taken place every September from the parish church of St. Stephan in Waldmünchen to Ast.