ancient military occupation of the kingdom of Castile