To evade the Edict of Restitution, Frederick V joined King Gustav II Adolf of Sweden and he renewed his alliance with Sweden and France in 1635 after the Battle of Nördlingen. Consequently, Frederick V was excluded from the amnesty granted by the Diet in 1640.