 Saxony was forced to join the Confederation of the Rhine and had to surrender areas of Thuringia to the recently organized Kingdom of Westphalia.As compensation, Saxony was given the area around Cottbus and was raised to the status of a kingdom alongside the Confederation states of Bavaria and Württemberg.Frederick Augustus was proclaimed king of Saxony on 20 December 1806.