The French annexed the Batavian Republic in 1810, and Overijssel was organised into the new French département of Bouches-de-l'Yssel. After the defeat of Napoleon in 1814, the kingdom of the Netherlands and the former province of Overijssel were recreated. Overijssel was briefly occupied by Nazi Germany during World War II from May 1940, until its liberation in April 1945. The Noordoostpolder, which had been laid dry in 1942, was part of Overijssel from 1962 until 1986, when it became part of the newly created province of Flevoland.