The founder of the house was Abd-ul-Qasim Mahommed, the cadi of Seville in 1023.
On the other hand, he may become a judge or cadi.
According to Shafi`ite law, such a cadi must be a male, free, adult Moslem, intelligent, of unassailed character, able to see, hear and write, learned in the Koran, the traditions, the Agreement, the differences of the legal schools, acquainted with Arabic grammar and the exegesis of the Koran.
The history, Tarikh Bulgar, said to have been written in the 12th century by an Arabian cadi of the city Bolgari, has not yet been discovered; but the Arabian historians, Ibn Foslan, Ibn Haukal, Abul Hamid Andalusi, Abu Abdallah Harnati, and several others, who had visited the kingdom, beginning with the 10th century, have left descriptions of it.
The grand cadi, who must belong to the sect of the Hanifis, sits at Cairo, and is aided by a council of Ulema or learned men.