Carlos Bernardo Fitz-James Stuart y Silva, 4th Duke of Liria and Jérica (25 March 1752 â 7 September 1787) was a Spanish nobleman. Born in Liria, Spain, he was the son of James (Jacobo) Fitz-James Stuart, 3rd Duke of Berwick, and his wife, MarÃÂa Teresa de Silva y ÃÂlvarez de Toledo (a sister of Fernando, 12th Duke of Alba).
On 9 October 1771 he married Princess Caroline of Stolberg-Gedern (10 February 1755 â 15 April 1828), member of the House of Stolberg, sister of the Jacobite consort Louise of Stolberg-Gedern and sister-in-law to Charles Edward Stuart, called by Jacobites King Charles III. The couple had two children, a son Jacobo Felipe (Paris, 25 February 1773 - Madrid, 3 April 1794), and a daughter, MarÃÂa Francisca Fernanda (22 March 1775 - 22 September 1852).
Carlos Fitz-James Stuart inherited his father's titles in 1785. The Duke served as a Gentleman of the Bedchamber to King Charles III of Spain.
The Duke of Liria and Jérica died in 1787 in Madrid, and was succeeded by his son and eldest child Jacobo as the 5th Duke of Liria and Jérica and 5th Duke of Berwick.