On 10 October, at Artenay (Loiret), the "armée de la Loire" was defeated by the I Bavarian Korps (General von der Thann), protecting the south flank of the German forces besieging Paris. The "armée" had to abandon Orléans on 11 October and Léon Gambetta sacked La Motte-Rouge and replaced him with General Louis d'Aurelle de Paladines, who set up base in Salbris, in Sologne. The "armée" with 70,000 men and 150 guns reinforced the 16th Corps (General Antoine Chanzy) and the 17th Corps (General Louis-Gaston de Sonis). It beat the Bavarians at Coulmiers (Loiret) on 9 November and retook Orléans but the Bavarians were reinforced by Frederick Francis of Mecklenburg-Schwerin who had besieged Toul and later by the contingents of Prince Frederick Charles of Prussia, made available by the surrender of Marshal Bazaine at Metz (27 October). Gambetta reinforced the "armée de la Loire" with the 18th Corps (General Billot) and the 20th Corps (General Crouzat). The force was beaten on 28 November at the Battle of Beaune-la-Rolande (Loiret) by the Prussians and fell back on Orléans. On 1 and 2 December, the 16th and 17th corps were the victors at Villepion and Terminiers (1 December), against forces led by Prince Leopold of Bavaria but beaten at the Battle of Loigny-Poupry on 2 December. Orléans was re-taken by the Germans on 4 December in the Second Battle of Orléans.