The city of Lille, which was built on the Deule River, was first founded in 1066, during the Medieval ages. Lille became one of the capitals for the County of Flanders, which was formed after the Treaty of Verdun in 843. Through descendants leading all the way back to Charlemange, the city continued to change hands as blood lines died out. At points in history, Lille was a part of Holland, Spain, and the finally Louis XIV had to do some tricky dealing in order to bring Lille back into French territory. That was in 1667. For a time not much happened, until the French Revolution, when the Austrians besieged the city while on their way to Paris to rescue the king. However, the local militia were successful in fighting off the Austrians, and the city was not destroyed. In the 19th Century, Lille became a large industrial city, and the population tripled in a short time. However, during the 20th Century, especially after World War II, Lille fell on hard times and progress declined. Still, Lille was spared of much of the horror and destruction that devestated France during the war. There were still hard times though. Lille now sits as the fourth largest city in France, with over 1 million inhabitants and 87 districts.