Abu Zakariya Yahya
Abu Zakariya Yahya was a Hafsid prince, a son of Caliph Abu Yahya Abu Bakr II, who reunited the Hafsid domains in 1318.
After the succession wars and Marinid invasion that followed his father's death in 1346, the caliph Abu Ishaq Ibrahim II granted Béjaïa to Abu Zakariya's son Abu Abdullah Muhammad, under whom Ibn Khaldun served as chief minister.