Fernando Ruiz de Castro (d. 1377) was a Galician nobleman of the House of Castro and a leading military figure in the service of King Peter of Castile. He held the titles of 3rd Count of Lemos, Trastámara and Sarria, and served as the king’s lord steward and standard-bearer. An inscription on his tomb in Bayonne gave him the enduring epithet “Toda la lealtad de España” (“All the loyalty of Spain”).
During the Castilian Civil War, Ruiz de Castro became the foremost supporter of Peter’s cause. After Peter’s death in 1369, he continued fighting against the House of Trastámara. He died in Bayonne in 1377.
He was a son of Pedro Fernández de Castro and Isabel Ponce de León, and a brother of Juana de Castro, who married Peter I of Castile. His half-siblings included Inês de Castro, mistress of Peter I of Portugal, and Álvaro Pires de Castro, a leader of the Portuguese branch of the family. Ruiz de Castro’s first marriage, to Juana Alfonso in 1354, produced no children. After their divorce, he married Eleanor Enríquez in 1367; their son, Pedro de Castro, was exiled and died in England. He also had an illegitimate son, Álvaro Pires de Castro, Lord of Alcáçovas, through his mistress Mília Gonçalves.