one who had the custody of the royal mansions