Peace of Prague
The Margraviate of Upper Lusatia was transferred by the Peace of Prague (1635) to the Electorate of Saxony until 1806, when the electorate was elevated to the Kingdom of Saxony.