During the 17th century, there was very little time during which the city enjoyed peace. During the Rappenkrieg (a peasant uprising that lasted from 1612 until 1614), the city was ruined. Between 1633 and 1638, the Thirty Years' War reached Fricktal, where Rheinfelden played a big role. On 15 July 1633, Swedish and French troops ruined the city. On 5 February 1638, the city was put under attack by Protestant troops sent by Bernhard of Saxe-Weimar. On 28 February, the Battle of Rheinfelden began, as the city was attacked by the bigger Imperial and Bavarian troops sent by Johann von Werth and Federigo Savelli. The Protestants lost this battle and moved on. Bernhard brought them weapons, but in the second passage on 3 March they were defeated, as he and his men unexpectedly re-appeared on the battlefield, with Savelli and Werth falling into captivity.