How did Saxony become a kingdom during the Napoleonic Wars?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

During the Napoleonic Wars, Saxony transitioned from an electorate to a kingdom as a direct result of its military defeat and subsequent political realignment with France.

Initially, Saxony had entered the struggle against France on the side of Prussia. However, following the decisive defeat of the Prussian and Saxon forces at the battles of Jena and Auerstädt in October 1806, the Saxon elector, Frederick Augustus I, was forced to seek peace with Napoleon.

The terms of this settlement were formalized in the peace of Posen (Poznań) on December 11, 1806. Under this agreement, Saxony joined the Confederation of the Rhine, a league of German states allied with France. As part of this new alliance, Napoleon granted Frederick Augustus the title of king of Saxony. This elevation marked the end of the electorate and the beginning of the Kingdom of Saxony, which remained a loyal ally to France for several years thereafter.