Historically, the Nigerian Constitution has allowed Sharia courts jurisdiction over certain cases, but their jurisdiction is limited to matters of Islamic personal or family law. Several state governments in the North have extended Sharia law to criminal offenses, thereby violating the Constitution's prohibition of an official religion. These states have relied on a constitutional provision that allows the Sharia Court to exercise other jurisdiction given to it by the state in introducing Sharia penal codes. The imposition of Sharia law in certain states in Nigeria infringes on the rights of Muslims and non-Muslims alike. Muslims who would prefer to be judged under the Constitution are not able to do so, and non-Muslims are denied the right to practice their religions freely.