The legal system in Colombia is based on the civil law tradition and is influenced by the Napoleonic Code. The Constitution of Colombia is the supreme law of the country, and all other laws must be consistent with it. The judicial system in Colombia is divided into two main branches: the ordinary justice system, which includes the constitutional court, the supreme court, and the council of state, and the military justice system, which has jurisdiction over cases involving military personnel. The legal system in Colombia also includes a system of public prosecution, which is responsible for investigating and prosecuting crimes, and a system of public defense, which provides legal representation to individuals who cannot afford to hire an attorney.