After suffering for years in the Thirty Years' War, the region of Upper Lusatia (including Görlitz) passed to Saxony (1635). In 1815, after the Napoleonic Wars, the Congress of Vienna awarded Görlitz to Prussia. Thus the city was a part of the Prussian province of Silesia from 1815 until 1945.