Castellan

Castellan was the title given to the samurai who managed a castle on behalf of his daimyō, seeing to the safety and readiness of the daimyō's primary holding.