It began life as a Byzantine church in 537AD