Diogo Fernandes (count)

Diogo Fernandes (died before 1 December 928), (Spanish: Diego Fernández) was a count in the Kingdom of León whose filiation has not been documented although, from his patronymic, it is known that his father was named Fernando, and that he was possibly from Castile. He is the ancestor of many of the important 10th and 11th century noble families in the County of Portugal and in the Kingdom of León. Although the relationship has not been documented, some authors believe that Diego could have been the brother of Count Ero Fernández and of Gudesteo Fernández.

Life
Diogo arrived at the county of Portugal near the end of the 9th century, accompanying, according to Sampiro, Infante Bermudo Ordóñez, the son of Ordoño I of Asturias, who after rebelling against his brother King Alfonso III, fled to Coimbra where he lived and died shortly before 928. Count Diego appears for the first time in medieval charters on 28 April 909, confirming a donation made by King Alfonso III. He was also a member of the curia regis of King Ordoño II of León and of his successor Fruela II. He accompanied King Ramiro II when he established his court in Viseu and his last appearance was on 23 February 926 when he confirmed a donation made by this monarch to Hermenegildo González and his wife Mumadona, Diogo's daughter.

Marriage and issue
He married Onecca, whose origins are not recorded in contemporary sources. She is sometimes called Onneca Lucides and made daughter of Portuguese count Lucídio Vimaranes, but this appears to have arisen through confusion with Onneca's great-granddaughter of the same name, the daughter of Lucídio Aloítez. Based on her Basque rather than Galician name, along with those of her son Jimeno and other descendants, Onneca may have been from Pamplona. King Ramiro II of León would call Muniadomna Dias his tia (aunt or older kinswoman). Taken together with her use of the name Leodegundia for a daughter, this led Pérez de Urbel to conclude that she was a member of the royal house of Pamplona, born to the infanta Leodegundia Ordóñez, thought to have been daughter of Ordoño I of Asturias and, as implied by a celebratory poem in the Códice de Roda, a bride in Pamplona. In this he has been followed by other scholars.

Onecca appears in December 928 making a donation to the Monastery of Lorvão with her four children, Munia, Ledegundia, Ximeno, and Mummadomna, who confirm the donation, also confirmed by Hermenegildo González, the husband of Mumadona, and Rodrigo Tedoniz, probable husband of Leodegundia Díaz. Onecca made the donation for the soul of Veremudo dive memorie who has been confused with King Bermudo II of León but refers to Bermudo Ordoñez, son of Ordoño I who lived in the County of Portugal and would have been the brother of Leodegundia, Onecca's possible mother.

The children of this marriage were:
 * Munia Díaz, the wife of Alvito Lucides, and parents of Lucídio Alvites, married to Jimena, who had a daughter named Onecca (Onega) Lucides who is often confused with Munia's mother, Onecca, the wife of Diogo Fernandes.
 * Leodegundia Díaz, probably the wife of Rodrigo Tedoniz who also confirms the donation made in 928.
 * Jimeno Díaz (d. between November and December 961), Count and an important figure in the 10th-century, before February 949, he married Adosinda Gutiérrez, daughter of Gutier Menéndez and Ilduara Ériz, with issue. After Jimeno's death, Adosinda married Ramiro Menéndez, son of count Hermenegildo González, and by Ramiro was probably the mother of Queen Velasquita Ramírez.
 * Mumadona Dias, who appears for the first time in February 926 as the wife of Count Hermenegildo González.