Bailiff

An official in a court of law who keeps order, looks after prisoners, etc.