Constantinople was besieged by the Arabs in 674–678, in what was the first culmination of the Umayyad Caliphate's expansionist strategy against the Byzantine Empire. Caliph Mu'awiya I, who had emerged in 661 as the ruler of the Muslim Arab empire following a civil war, renewed aggressive warfare against Byzantium after a lapse of some years and hoped to deliver a lethal blow by capturing the Byzantine capital of Constantinople.
As reported by the Byzantine chronicler Theophanes the Confessor, the Arab attack was methodical: in 672–673 Arab fleets secured bases along the coasts of Asia Minor and then installed a loose blockade around Constantinople. They used the peninsula of Cyzicus near the city as a base to spend the winter and returned every spring to launch attacks against the city's fortifications. Finally the Byzantines, under Emperor Constantine IV, destroyed the Arab navy using a new invention, the liquid incendiary substance known as Greek fire. The Byzantines also defeated the Arab land army in Asia Minor, forcing them to lift the siege. The Byzantine victory was of major importance for the survival of the Byzantine state, as the Arab threat receded for a time. A peace treaty was signed soon after, and following the outbreak of another Muslim civil war, the Byzantines even experienced a brief period of ascendancy over the Caliphate. The siege was arguably the first major Arab defeat in 50 years of expansion and temporarily stabilized the Byzantine Empire after decades of war and defeats.