The complex, identified as the Caesareum of Palmyra, was converted into a mosque during the Umayyad period.