 Complete the following phrase:  The Bavarians were for several years the active allies of Napoleon, and Wrede led the Bavarian corps that fought in Russia in 1812. Just before the Battle of Leipzig in October 1813, he negotiated the Treaty of Ried between Austria and Bavaria, by which Bavaria switched sides. Wrede then fought with the allies against Napoleon. After Leipzig, he tried to block the French escape at the 