In which year was the Kingdom of Castile formed?
A year before Alfonso III "the Great" of Asturias death, three of Alfonso's sons rose in rebellion and forced him to abdicate, partitioning the kingdom among them.