gaoler

noun
  1. a person in charge of a jail or prison; a jailer
  2. Usage: British spelling; American English typically uses 'jailer'; formal or official context

Examples