In September 1813, Russian troops surrounded Cassel, defeated the French completely, and took the city. By October 1 they had conquered the whole Kingdom, but three days later Jérôme returned with French soldiers and managed to recapture Cassel. The Elector of Hesse-Kassel arrived soon after and the Russians besieged the city again. After France lost the Battle of the Nations on 19 October 1813, the Russians dissolved the Kingdom and restored the status quo of 1806 except for Rietberg and Stolberg-Wernigerode, which went to Prussia.