HAMMUDID DYNASTY
Ali ibn Hammud al-Nasir caliph of Córdoba 1016 -1018 AD
His eldest son:
Yahya ibn Ali ibn Hammud al-Mutali, caliph of Córdoba 1021-1023 and 1025-1026 and caliph of Málaga 1026-1035 (Yahya I)
His second son:
Idris ibn Ali al-Mutaayyad caliph of Málaga 1035-1039 (Idris I)
Eldest son of Yahya I and Fatima:
Hasan ibn Yahya ibn Ali caliph of Málaga 1040-1042
Second son of Yahya I and Fatima:
Idris ibn Yahya ibn Ali (Ben Yahya) caliph of Málaga 1042 -47 (Idris II)
Sons of Idris I:
Muhammad ibn Idris ibn Ali ruler of al-Jazira
Yahya ibn Idris (Yahya II)