The marriage was one of a set of family alliances between the Habsburgs and the Trastámara, designed to strengthen against growing French power, which had increased significantly thanks to the policies of Louis XI and the successful assertion of regal power after war with the League of the Public Weal. The matter became more urgent after Charles VIII's invasion of Italy (known as the First Peninsular War).