It was called County of Castile and was held in vassalage from the Kingdom of León .
It began in the 9th century : it was called County of Castile and was a vassalage depending from the Kingdom of León .