The Captain of the Guard is a position for a military force.
It is also a position within jail and prison staffing.
A Captain of the Guard is the commanding position of a military security force.
The Guard is commonly associated with bodyguard duty for royalty or head of state, but the Guard can refer to the military security force of a city or region such as a province, state, or territory.
[1] The position is referred to in the New Testament at Acts 4:1.