During the Franco-Prussian War of 1870–1871, the Palace was occupied by the general staff of the victorious German Army. Parts of the chateau, including the Gallery of Mirrors, were turned into a military hospital. The creation of the German Empire, combining Prussia and the surrounding German states under William I, was formally proclaimed in the Hall of Mirrors on January 18, 1871. The Germans remained in the Palace until the signing of the armistice in March 1871. In that month, the government of the new Third French Republic, which had departed Paris during the War for Tours and then Bordeaux, moved into the Palace. The National Assembly held its meetings in the Opera House.