In English law . An officer of the royal navy who had the charge of prisoners taken at sea, and sometimes also on land. In military law , the of- ficer acting as the head of the military police of any post, camp, city or other place in military occupation , or district under the reign of martial law .