since December 4th, 2019), and its officers originate from the bodies of federal prison agencies. State institutions There are three types of state police institutions: the Military Police/Military Firefighters Corps the Civil Police and the State Penal Police. The Military Police and Fire Brigade is the state police charged with maintaining order. It patrols the streets and imprisons suspects of criminal activity, handing them over to Civil Police custody or, in case of federal crimes, to the Federal Police. It is a "militarized" institution (gendarmerie) because it is based on military principles of hierarchy, uniform, discipline, and ceremony. However, the body is not a branch of the Brazilian Armed Forces. It is described by the constitution as an "auxiliary force of the Brazilian Army in time of war". The Military Fire Brigade, in general, is a part of the Military Police, although it does not perform traditional policing duties. It is subordinated to the state government. However, in the States of Rio de Janeiro & Minas Gerais, The Military Fire Brigade is an autonomous military corporation, part of State Department of Civil Defense. The Civil Police is the state police with criminal law enforcement duties. It has the function of investigating crimes committed in violation of Brazilian criminal law. It does not patrol the streets and generally does not use uniforms. Like the Military Police, it is subordinated to the state government. The State Penal Police, like the sister federal agency, was created by the Federal Constitutional Amendment number 104 (December 4th, 2019), and its officers originate from the bodies of state prison agencies. Other security forces The National Public Security Force, officially the Força Nacional de Segurança Pública, was created by presidential decree 5.289 on November 29, 2004. It is not a security force per se. Rather, it is a federal program of cooperation among all Brazilian police forces for situations of emergency or exceptional nature. Army, Navy and Air Force police units are not to be confused with the state Military Police. These are internal security units of each Armed Forces branch. They do not have general civil order maintenance or law enforcement functions. Other internal units may be created for protection of particular agencies or administrative entities, such as the guards of legislative houses, which do not have public safety functions. Nevertheless, in times of emergency, the Army has been called upon to maintain order, most notably