The legal system in Sudan is based on English common law and Islamic sharia. Islamic law was implemented in all of the north as of September 1983, by Jafar An-Numeri, the Second Sudanese Military Dictator; this applied to all residents of the Sudan regardless of their religion. The 2005 Naivasha Agreement, ending the civil war between north and south Sudan, established some protections for non-Muslims in Khartoum. International Court of Justice jurisdiction is accepted, though with reservations. Under the terms of the Naivasha Agreement, Islamic law did not apply in the south. Since the secession of South Sudan there is some uncertainty as to whether Sharia law will now apply to the non-Muslim minorities present in Sudan, especially because of contradictory statements by al-Bashir on the matter.
The judicial branch of the Sudanese government consists of a Constitutional Court of nine justices, the National Supreme Court and National Courts of Appeal, and other national courts; the National Judicial Service Commission provides overall management for the judiciary.