|The dhimma contract is an integral part of traditional Islamic sharia law. From the 9th century AD, the power to interpret and refine law in traditional Islamic societies was in the hands of the scholars (ulema). This separation of powers served to limit the range of actions available to the ruler, who could not easily decree or reinterpret law independently and expect the continued support of the community. Through succeeding centuries and empires, the balance between the ulema and the rulers shifted and reformed, but the balance of power was never decisively changed. At the beginning of the 19th century, the Industrial Revolution and the French Revolution introduced an era of European world hegemony that included the domination of most of the lands of Islam. At the end of the Second World War, the European powers found themselves too weakened to maintain their empires. The wide variety of forms of government, systems of law, attitudes toward modernity and interpretations of sharia are a result of the ensuing drives for independence and modernity in the Muslim world.