 He was also a renowned judge and mathematician.Ahmad ibn al-Qadi was born in 18 December 1552 in the Ibn al-qadi family.These latter belonged to the Zenata Berber tribal confederation, many of whose descendants were established in Fez and Meknes.