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),
Strasbourg and home to 13% of the Grand Est region's inhabitants. The transnational Eurodistrict Strasbourg-Ortenau had a population of 915,000 inhabitants in 2014. Strasbourg is one of the "de facto" capitals of the European Union (alongside Brussels and Luxembourg), as it is the seat of several European institutions, such as the Council of Europe (with its European Court of Human Rights, its European Directorate for the Quality of Medicines and its European Audiovisual Observatory) and the Eurocorps, as well as the European Parliament and the European Ombudsman of the European Union. The city is also the seat of the Central Commission