In 1813, when Austria, after many hesitations, took the side of the allies against Napoleon, Schwarzenberg, recently promoted to Feldmarschall, was appointed commander-in-chief of the allied Grand Army of Bohemia. As such, he was the senior of the allied generals who conducted the campaign of 1813–1814. Under his command, the allied army was mauled by Napoleon at the Battle of Dresden on 26–27 August and driven back into Bohemia. However, his army defeated pursuing French forces at the Second Battle of Kulm (17 September 1813). Returning to the fray, he led the Allied army north again and played a major role in Napoleon's decisive defeat at the Battle of Leipzig on 16–18 October. During the invasion of France in 1814 he attacked through Switzerland and beat a French force at the Battle of Bar-sur-Aube on 27 February 1814. He repelled an attack by Napoleon in the Battle of Arcis-sur-Aube on 20–21 March and overcame the last barrier before Paris by winning the Battle of Fère-Champenoise on 25 March. His capture of the French capital on 31 March after the Battle of Paris resulted in the overthrow of Napoleon.