Al-Walid I
During the Persecution of pagans in the late Roman Empire, Theodosius I converted the temple to a church dedicated to John the Baptist. After the Muslims took over Damascus in 635 CE, the church was shared for seventy years, but Al-Walid I converted it to the Umayyad Mosque.