Abu Ali al-Hasan al-A'sam ibn Ahmad ibn Bahram al-Jannabi (al-Ahsa Oasis, 891 – Ramla, 977) was a Qarmatian leader, chiefly known as the military commander of the Qarmatian invasions of Syria (especially around Damascus and Palestine) in 968–977. Already in 968, he led attacks on the Ikhshidids, capturing Damascus and Ramla and extracting pledges of tribute. Following the Fatimid conquest of Egypt and the overthrow of the Ikhshidids, in 971–974 al-A'sam led attacks against the Fatimid Caliphate, who began to expand into Syria. The Qarmatians repeatedly evicted the Fatimids from Syria and invaded Egypt itself twice, in 971 and 974, before being defeated at the gates of Cairo and driven back. Al-A'sam continued fighting against the Fatimids, now alongside the Turkish general Alptakin, until