Count of Viana (do Alentejo) was a Portuguese title of nobility granted to D. João Afonso Telo, 4th Count of Barcelos and direct cousin of Queen Leonor Teles, by King Ferdinand I of Portugal pursuant to a royal decree dated 13 March 1373.
The first count belonged to one of the most powerful families among the Portuguese nobility and even though he supported Beatrice of Portugal's party during the 1383-1385 Crisis, the county of Viana (do Alentejo) was inherited by his descendants.
"Nobreza de Portugal e Brasil" Vol III, pages 478/480. Published by Zairol, Lda., Lisbon, 1989.