The town was near the site of a battle in 531 between Romans and Sasanians, when the latter tried to invade the Roman territories, surprisingly via arid regions in Syria, to turn the tide of the Iberian War. The Persians won the battle, but the casualties on both sides were high. In 542, the city was destroyed by the Persian Emperor Khusrau I (r. 531–579), who razed its fortifications and deported its population to Persia, but it was subsequently rebuilt by Byzantine Emperor Justinian I (r. 527–565). In 580, during another war with Persia, the future Emperor Maurice scored a victory over the Persians near the city during his retreat from an abortive expedition to capture Ctesiphon.