The judiciary of Pakistan () is a hierarchical system with two classes of courts: the superior (or higher) judiciary and the subordinate (or lower) judiciary. The superior judiciary is composed of the Supreme Court of Pakistan, the Federal Shariat Court and five High Courts, with the Supreme Court at the apex. There is a High Court for each of the four provinces as well as a High Court for the Islamabad Capital Territory. The Constitution of Pakistan entrusts the superior judiciary with the obligation to preserve, protect and defend the constitution. Neither the Supreme Court nor a High Court may exercise jurisdiction in relation to Tribal Areas, except otherwise provided for. The disputed regions of Azad Kashmir and Gilgit–Baltistan have separate court systems. The independence of the Pakistani judiciary has changed over time. Whereas the judiciary used to defer to the Pakistani military, which is a dominant actor in Pakistan's politics, the judiciary has increasingly competed with and confronted the military. Besides Supreme Court of Pakistan, there are areas that are not constitutional parts of Pakistan till now. They are Gilgit Baltistan and AJK. As per constitution of Pakistan,they are being governed by Government of Pakistan on interim basis. Though Gilgit Baltistan declared its independence from Dogra/Maharaja Kashmir on 1 November 1948, that is said to be the independence day of Gilgit Baltistan. Likewise, the authority of Constitution of Pakistan is not held there, though through Presidential ordinances, and PM packages, they are governed and given an interim authority delegated by Federal Government of Pakistan. As the Supreme Court of Pakistan doesn't have jurisdiction over Gilgit Baltistan, thus another form of APEX Court named Supreme Appellate Court for Gilgit Baltistan has been introduced, with designated powers as that of Supreme Court of Pakistan. The subordinate judiciary consists of civil and criminal district courts, and numerous specialized courts covering banking, insurance, customs and excise, smuggling, drugs, terrorism, taxation, the environment, consumer protection, and corruption. The criminal courts were created under the Criminal Procedure Code 1898 and the civil courts were established by the West Pakistan Civil Court Ordinance 1962. There are also revenue courts that operate under the West Pakistan Land Revenue Act 1967. The government may also set up administrative courts and tribunals for exercising exclusive jurisdiction in specific matters. As of 2017, Pakistan's judiciary is suffering from a backlog of two million cases, with lawsuits taking an average of