Abu Hafs Umar II
Abu Hafs Umar II was a son of the Hafsid caliph Abu Yahya Abu Bakr II. In 1342 the old caliph had named another son, Ahmad, as his heir and secured the backing of his son-in-law, the Marinid sultan Abu al-Hasan. When the caliph died in October 1346, Umar had himself proclaimed caliph first.
Ahmad marched from the south and took the city, but Umar killed him, and his other brothers too. In spring 1347 Abu al-Hasan invaded Ifriqiya and met almost no resistance.
Accounts of Umar's end differ: one says he fled Tunis, was captured near Gabès and executed in August 1347, while others place his death in 1349.