information:filtering, structural:scholar_edition, quality:correction, structural:summarization
Law

The Ottoman legal system accepted the religious law over its subjects. At the same time the Qanun (or Kanun), dynastic law, co-existed with religious law or Sharia. The Ottoman Empire was always organized around a system of local jurisprudence. Legal administration in the Ottoman Empire was part of a larger scheme of balancing central and local authority. Ottoman power revolved crucially around the administration of the rights to land, which gave a space for the local authority to develop the needs of the local millet. The jurisdictional complexity of the Ottoman Empire was aimed to permit the integration of culturally and religiously different groups. The Ottoman system had three court systems: one for Muslims, one for non-Muslims, involving appointed Jews and Christians ruling over their respective religious communities, and the "trade court". The entire system was regulated from above by means of the administrative Qanun, i.e., laws, a system based upon the Turkic Yassa and Töre, which were developed in the pre-Islamic era.

These court categories were not, however, wholly exclusive; for instance, the Islamic courts, which were the Empire's primary courts, could also be used to settle a trade conflict or disputes between litigants of differing religions, and Jews and Christians often went to them to obtain a more forceful ruling on an issue. The Ottoman state tended not to interfere with non-Muslim religious law systems, despite legally having a voice to do so through local governors. The Islamic Sharia law system had been developed from a combination of the Qur'an; the Hadīth, or words of Muhammad; ijmā', or consensus of the members of the Muslim community; qiyas, a system of analogical reasoning from earlier precedents; and local customs. Both systems were taught at the Empire's law schools, which were in Istanbul and Bursa.

The Ottoman Islamic legal system was set up differently from traditional European courts. Presiding over Islamic courts was a Qadi, or judge. Since the closing of the ijtihad, or 'Gate of Interpretation', Qadi s throughout the Ottoman Empire focused less on legal precedent, and more with local customs and traditions in the areas that they administered. However, the Ottoman court system lacked an appellate structure, leading to jurisdictional case strategies where plaintiffs could take their disputes from one court system to another until they achieved a ruling that was in their favour.

In the late 19th century, the Ottoman legal system saw substantial reform. This process of legal modernisation began with the Edict of Gülhane of 1839. These reforms included the "fair and public trial of all accused regardless of religion", the creation of a system of "separate competences, religious and civil", and the validation of testimony on non-Muslims. Specific land codes (1858), civil codes (1869–1876), and a code of civil procedure also were enacted.

These reforms were based heavily on French models, as indicated by the adoption of a three-tiered court system. Referred to as Nizamiye, this system was extended to the local magistrate level with the final promulgation of the Mecelle, a civil code that regulated marriage, divorce, alimony, will, and other matters of personal status. In an attempt to clarify the division of judicial competences, an administrative council laid down that religious matters were to be handled by religious courts, and statute matters were to be handled by the Nizamiye courts.