A ALA (مذهب DIN, ˈmaðhab, "way to act". pl. مَذَاهِب DIN, ˈmaðaːhib) is a school of thought within fiqh (Islamic jurisprudence). The major Sunni Madhhab are Hanafi, Maliki, Shafi'i and Hanbali. They emerged in the ninth and tenth centuries CE and by the twelfth century almost all jurists aligned themselves with a particular madhhab. These four schools recognize each other's validity and they have interacted in legal debate over the centuries. Rulings of these schools are followed across the Muslim world without exclusive regional restrictions, but they each came to dominate in different parts of the world. For example, the Maliki school is predominant in North and West Africa; the Hanafi school in South and Central Asia; the Shafi'i school in East Africa and Southeast Asia; and the Hanbali school in North and Central Arabia. The first centuries of Islam also witnessed a number of short-lived Sunni madhhabs. The Zahiri school, which is considered to be endangered, continues to exert influence over legal thought. The development of Shia legal schools occurred along the lines of theological differences and resulted in the formation of the Ja'fari madhab amongst Twelver Shias, as well as the Isma'ili and Zaidi madhhabs amongst Isma'ilis and Zaidis respectively, whose differences from Sunni legal schools are roughly of the same order as the differences among Sunni schools. The Ibadi legal school, distinct from Sunni and Shia madhhabs, is predominant in Oman. Unlike Sunnis, Shias, and Ibadis, non-denominational Muslims are not affiliated with any madhhab. The transformations of Islamic legal institutions in the modern era have had profound implications for the madhhab system. With the spread of codified state laws in the Muslim world, the influence of the madhhabs beyond personal ritual practice depends on the status accorded to them within the national legal system. State law codification commonly drew on rulings from multiple madhhabs, and legal professionals trained in modern law schools have largely replaced traditional ulama as interpreters of the resulting laws.