List of Castilian counts

This is a list of counts of Castile.
The County of Castile had its origin in a fortified march on the eastern frontier of the Kingdom of Asturias. The earliest counts were not hereditary, being appointed as representatives of the Asturian king. From as early as 867, with the creation of the County of Álava, Castile was subdivided into several smaller counties that were not reunited until 931. In the later 10th-century, while nominally in vassalage to the Kingdom of León, the counts grew in autonomy and played a significant role in Iberian politics. After the assassination in 1029 of Count García Sánchez of Castile, King Sancho III of Pamplona, because of his marriage to Muniadona, García's sister, governed the county although he never held the title of count: it was his son, Ferdinand Sánchez, the future King Ferdinand I of León who inherited the county from his mother.
Near the end of 1063, Fernando I convened the "Curia regis" to announce his testamentary dispositions pursuant to which he had decided to divide his dominions among his sons. His firstborn, Sancho, became the first king of the former county and reigned as Sancho II of Castile.
Counts of Castile.
"Beni Mamaduna".
Following the appointment of Fernán González in 931 to succeed both Gutier Núñez and Álvaro Herraméliz, he reunited the divided counties of Castile, Burgos, Álava, Cerezo and Lantarón into what would become a single semi-autonomous hereditary county of Castile. Al Andalus sources referred to the family as the "Beni Mamaduna", the descendants of Muniadona, Fernán's mother.
Jiménez Dynasty.
With the death of Garcia Sánchez, the county of Castile passed to the family of his eldest sister, Muniadona of Castile, wife of Sancho III of Pamplona. Sancho thus became "de facto" ruler of Castile, though he was never its count, nominating his younger son to succeed Garcia.