The first years of Mazarin in office were marked by military victories in the Thirty Years' War, which he used to make France the main European power and establish the Peace of Westphalia (1646–48). A major uprising against Anne of Austria and Mazarin, called the Fronde and led by the nobles of the Parliament of Paris, broke out in Paris in 1648, followed by a second Fronde led by Louis, Grand Condé, who turned from his chief ally to his chief enemy. Mazarin took Anne of Austria and Louis XIV out of Paris, and then shifted his base to Germany for a time. Turenne, a general loyal to Louis XIV and Mazarin, defeated Condé, and Mazarin made a triumphal return to Paris in 1653.