The Bajoran Militia started after the Cardassian
occupation. Nearly all the people in the Militia started out as resistance fighters during the occupation. Just like the Federation
uniforms have different colors for each department. Red is for command, brown for security, grey for operations, green/grey for science and the medical uniforms were brown with yellow or purple.
The creation of the Bajorian Militia was created for the Star Trek: Deep Space Nine television show.