The legal system is based on the Federal Constitution, promulgated on 5 October 1988, and the fundamental law of Brazil. All other legislation and court decisions must conform to its rules. , there have been 53 amendments. States have their own constitutions, which must not contradict the Federal Constitution. Municipalities and the Federal District have "organic laws" (), which act in a similar way to constitutions. Legislative entities are the main source of statutes, although in certain matters judiciary and executive bodies may enact legal norms. Jurisdiction is administered by the judiciary entities, although in rare situations the Federal Constitution allows the Federal Senate to pass on legal judgments. There are also specialized military, labor, and electoral courts. The highest court is the Supreme Federal Court.