They came from the kings and supervisors of Morocco and settled in Jerusalem with their grandfather Muhammad al-Alami in the tenth century AH, including a group that was established in Lod and Gaza, many scholars, muftis and Sufis graduated there. However, the family's name came from the word "science"; because of that reason.