In 1488, however, Francis II, Duke of Brittany, died in a riding accident, leaving his 11-year-old daughter Anne as his heir. Anne, who feared for the independence of her duchy against the ambitions of France, arranged a marriage in 1490 between herself and the widower Maximilian. The regent Anne of France and her husband Peter refused to countenance such a marriage, however, since it would place Maximilian and his family, the Habsburgs, on two French borders. The French army invaded Brittany, taking advantage of the preoccupation of Maximilian and his father, Emperor Frederick III, with the disputed succession to Mathias Corvinus, King of Hungary. Anne of Brittany was forced to renounce Maximilian (whom she had only married by proxy) and agree to be married to Charles VIII instead.