 The "Ulema" and the major Islamic law schools took shape in the period of Al-Ma'mun.In parallel, Sunnism became defined as a religion of laws.Doctrinal differences between Sunni and Shi'a Islam became more pronounced.