The mayor, governor, or bailiff of a borough.
Synonym of castellan: the lord of a castle; a caretaker entrusted to oversee a castle for its lord.