James Duff, 4th Earl Fife, KT, GCH (6 October 1776 – 9 March 1857), was a Scot who became a Spanish general. Biography James was the elder son of the Hon. Alexander Duff, who succeeded his brother as third Earl Fife in 1809. He was educated at Edinburgh and was not intended for the army. On 9 September 1799 he married Mary Caroline Manners (second daughter of John Manners and Louisa Tollemache, 7th Countess of Dysart), who died on 20 December 1805 without children. Thereupon Duff sought distraction in 1808 by volunteering to join the Spaniards in their war against Napoleon. His assistance was gladly received, especially as he came full of enthusiasm and with a full purse, and he was made a major-general in the Spanish service. He served with great distinction at the Battle of Talavera, where he was severely wounded in trying to rally the Spanish runaways, and was only saved from becoming a prisoner by the gallantry of his lifelong friend, Major (afterwards Lieutenant-general Sir) S. F. Whittingham. In that year, 1809, he became Viscount Macduff on his father's accession to the Irish earldom of Fife, but he still continued to serve in Spain, and was present during the defence of Cadiz against Marshal Victor, and was again severely wounded in the attack on Fort Matagorda in 1810. On 17 April 1811 he succeeded his father as fourth Earl Fife less than 2 years after his father himself had succeeded, and also as Lord Lieutenant of Banffshire, and as a baron to many minor baronies including Macduff, named for James Duff, 2nd Earl Fife by a Crown Charter granted by King George III in 1783. He returned to Britain, after being made for his services a knight of the order of St. Ferdinand. He was elected M.P. for Banffshire in 1818, and made a lord in waiting in the following year. He was created Baron Fife in the Peerage of the United Kingdom on 27 April 1827, in which year he was also made a knight of the Thistle. He soon afterwards retired altogether to Scotland, where he lived at Duff House, Banffshire, much beloved by his tenantry and greatly interested in farming and cattle raising; he died there, aged 80, on 9 March 1857. His influence was instrumental in the passage of José de San Martin (a Spanish captain at this time) to South America