it belonged to the diocese of leon territorial court and general captaincy of valladolid