During the Napoleonic Wars, the Polish forces of General Jan Henryk Dąbrowski were stationed in the town, and the city was also visited three times by Napoleon Bonaparte. Glogau was captured by French forces after the Battle of Jena in 1806. The town, with a garrison of 9,000 French troops, was besieged in 1813–14 by the Sixth Coalition; by the time the defenders surrendered on 10 April 1814, only 1,800 defenders remained.