The court system is organised as a hierarchy, with the Supreme Court at the apex, below which are high courts, Federal Shariat Courts (one in each province and one in the federal capital), district courts (one in each district), Judicial Magistrate Courts (in every town and city), Executive Magistrate Courts, and civil courts. The Penal code has limited jurisdiction in the Tribal Areas, where law is largely derived from tribal customs.