After the Swedish-German Heilbronn League was defeated at Nördlingen in September 1634, France decided to enter the war. In the Treaty of Compiègne, they agreed to continue subsidising Swedish intervention in the Holy Roman Empire, and to declare war on Spain, beginning the 1635 to 1659 Franco-Spanish War.