Artois was then held by Philip's descendants from the Burgundian House of Valois-Burgundy until the extinction of the line with the death of Duke Charles the Bold at the Battle of Nancy on 5 January 1477. Seized by King Louis XI of France, he at first established the county as a seneschalate. Nevertheless, the Burgundian territories were also claimed by Archduke Maximilian I of Habsburg, the son of Emperor Frederick III and husband of Charles' daughter Mary the Rich. Maximilian's and Louis' troops met at the 1479 Battle of Guinegate. The Habsburg forces were victorious, however Mary died in 1482 and Maximilian was only able to retain Flanders, while Artois and Franche-Comté were officially ceded to the French king by the Treaty of Arras in 1482.