 At the beginning of the Thirty Years' War there were 10,000–14,000 citizens in Freiburg; by its end only 2,000 remained.During this war and other conflicts, the city belonged at various times to the Austrians, the French, the Swedes, the Spaniards, and various members of the German Confederation.Between 1648 and 1805, when the city was not under French occupation it was the administrative headquarters of Further Austria, the Habsburg territories in the southwest of Germany.