Mary soon made her choice among the many suitors for her hand by selecting Archduke Maximilian of Austria, the future Holy Roman Emperor Maximilian I, who became her co-ruler. The marriage took place at Ghent on 19 August 1477. Mary's marriage into the House of Habsburg initiated two centuries of contention between France and the Habsburgs, a struggle that climaxed with the War of the Spanish Succession in the years 1701–1714. In the Netherlands, affairs now went more smoothly; the French aggression was temporarily checked, and internal peace was in large measure restored. In 1482, a falcon hunt in the woods near Wijnendale Castle was organised by Adolph of Cleves, Lord of Ravenstein, who lived in the castle. Mary loved riding and was hunting with Maximilian and knights of the court when her horse tripped, threw her in a ditch, and then landed on top of her, breaking her back. She died several weeks later on 27 March from internal injuries, having made a detailed will. She was buried in the Church of Our Lady in Bruges on 3 April, 1482. Her two-year-old daughter, Margaret of Austria, was sent in vain to France, to marry the Dauphin, in an attempt to please Louis XI and persuade him not to invade the territories owned by Mary. Louis was swift to re-engage hostilities with Maximilian and forced him to agree to the Treaty of Arras of 1482, by which Franche-Comté and Artois passed for a time to French rule, only to be recovered by the Treaty of Senlis of 1493, which established peace in the Low Countries. Mary's marriage into the House of Habsburg proved to be a disaster for France because the Burgundian inheritance later brought it into conflict with Spain and the Holy Roman Empire. Mary's son Philip succeeded to her dominions under the guardianship of his father. Her children were as follows: