Master-at-arms

A master-at-arms (MA) may be a naval rating responsible for discipline and law enforcement, an army officer responsible for physical training, or a member of the crew of a merchant ship (usually a passenger vessel) responsible for security and law enforcement.

Read more about Master-at-arms:  United States Navy