In the 19th century the Prussian Army fought successful wars against Denmark, Austria and France, allowing Prussia to unify Germany, aside from Austria, establishing the German Empire in 1871. The Prussian Army formed the core of the Imperial German Army, which was replaced by the "Reichswehr" after World War I.