a governor or warden of a castle or fort [Middle English castelleyn via Frenchfrom Latin castellanus occupant of a castle, from castellum: see castle1]