James Stewart, Earl of Moray (c. 1500–1544) was a Scottish nobleman and diplomat. He was the illegitimate son of James IV of Scotland and his mistress Janet Kennedy. He was created Earl of Moray in 1501. His upbringing included a period at Stirling Castle, in the care of Andrew Aytoun, and then he and his mother were moved to Darnaway Castle. He was young enough to avoid fighting at the disastrous Battle of Flodden in 1513. He should not be confused with the two later and better-known 16th-century Earls of Moray who were also called James Stewart: his nephew James Stewart, 1st Earl of Moray, who was Regent during the minority of James VI, and this nephew's son-in-law James Stewart, 2nd Earl of Moray, who was The Bonny Earl of Murray of the famous ballad. Moray had a varied relationship with his half-brother James V, and was imprisoned for a time. In February 1531, James V gave him a commission to negotiate with rebels in the Scottish Isles and offer them pardons for future obedience. Moray went to France and was invested in the Order of Saint Michael by the Duke of Vendôme. In April 1536 Francis I of France arranged that James V would marry the Duke of Vendôme's daughter, Mary of Bourbon. Francis sent a courtier, Guillaume d'Yzernay, to the Earl of Moray with the collar and insignia of the Order of Saint Michael to give to James V as a token of his affection and their family union. Moray was instructed to present the collar with the same ceremonies that the Duke had observed at his investiture into the order. The 16th-century historian John Lesley, Bishop of Ross praised Moray for his diplomatic skills, in 1543 the Earl arranged the accidental destruction of valuable Venetian glass at a banquet in 1543 to impress Peter Francisco Contarini, Patriarch of Venice, producing another set of glasses after the first was cleared away. According to Lesley, in 1526 Moray protected the young heir of Lachlan Mackintosh of Dunnachtan or Dunachton, his nephew, from his half-brothers Hector and William, who came to Dyke by Darnaway and burnt the countryside and killed several people, and captured Petty Castle belonging to Ogilvy of Durne or Durness. Moray got a commission from James V to raise an army and attack the Mackintosh brothers. Hector Mackintosh was brought back to Forres and beheaded, William Mackintosh