The 1995 Dayton Accords established a constitution including a Constitutional Court composed of 9 members. The Constitutional Court's original jurisdiction lies in deciding any constitutional dispute that arises between the FBH and the RS or between Bosnia and Herzegovina and one or both of the FBH and the RS. The Court also has appellate jurisdiction within the territory of Bosnia and Herzegovina. The constitution provides for an independent judiciary, although it is subject to influence by nationalist elements, political parties, and the executive branch. Original court jurisdiction exists in both municipal and cantonal courts (10 in the FBH); the RS has 5 municipal courts and district courts. Appeals in the FBH are taken to the Federation Supreme Court, and in the RS to the RS Supreme Court. The constitution provides for open and public trials. The legal system is based on civil law system.