The California Highway Patrol is often referred to as a "paramilitary" department. This is due to the uniforms, ranks and insignias, chain of command, and long-standing traditions of the Department that resemble a military organization. this paramilitary style is especially prevalent throughout Academy training.
California Highway Patrol - Recruiting
Paramilitary Courtesy
Through this course, cadets learn to respond politely to their professors, officers and other people they encounter while on law enforcement duty. Like in the military, students are expected to respond to senior officers and staff members with 'sir' or 'ma'am.' They practice typical drill movements, where they must be in the position of attention upon command.
Pretty scarey stuff.