In the Ottoman Empire, a millet was a separate legal court pertaining to "personal law" under which a confessional community (a group abiding by the laws of Muslim Sharia, Christian Canon law, or Jewish Halakha) was allowed to rule itself under its own system.