It replaced a former building at a different location, which was built in 1507 as a Catholic church.
It replaced a former building at a different location. A different location was built in 1507 as a Catholic church.