Strasbourg been populated since the middle Paleolithic. Between 362 and 1262, Strasbourg was governed by the bishops of Strasbourg; their rule was reinforced in 873 and then more in 982. In 1262, the citizens violently rebelled against the bishop's rule (Battle of Hausbergen) and Strasbourg became a free imperial city. It became a French city in 1681, after the conquest of Alsace by the armies of Louis XIV. In 1871, after the Franco-Prussian War, the city became German again, until 1918 (end of World War I), when it reverted to France. After the defeat of France in 1940 (World War II),
Institutional seats of the European Union institutions: The European Parliament has its seat in Strasbourg, hosting twelve monthly plenary sessions (including budget session). Brussels hosts additional sessions and committees (including being used in September 2008 for normal sittings when the Strasbourg chamber was damaged). Luxembourg City hosts the Secretariat of the European Parliament. The Council of the European Union has its seat in Brussels, except during April, June, and October, when meetings are held in Luxembourg. The European Commission also has its seat in Brussels, although some departments are hosted by Luxembourg City. The European Court of Justice, the General Court, and the Court of Auditors