sentence1: The Baroque chapel was rebuilt as the former St Mary 's pilgrimage church ( " Maria in Hohenburg " ) in 1707 .
sentence2: The former chapel was rebuilt in 1707 as the Baroque St. Mary 's Church ( " Maria in Hohenburg " ) .