The Treaty of Ried of 8 October 1813 was a treaty that was signed between Bavaria and Austria. By this treaty, Bavaria left the Confederation of the Rhine and agreed to join the Sixth Coalition against Napoleon in exchange for a guarantee of her continued sovereign and independent status. On 14 October, Bavaria made a formal declaration of war against Napoleonic France. The treaty was passionately backed by the Crown Prince Louis and by Marshal von Wrede.