The Imperial German Army (1871–1919), officially referred to as the German Army (Deutsches Heer), was the unified ground and air force of the German Empire. It was established in 1871 with the political unification of Germany under the leadership of Prussia, and was dissolved in 1919, after the defeat of the German Empire in World War I (1914–1918). In the Federal Republic of Germany, the term Deutsches Heer identifies the German Army, the land component of the Bundeswehr. The states that made up the German Empire contributed their armies; within the German Confederation, formed after the Napoleonic Wars, each state was responsible for maintaining certain units to be put at the disposal of the Confederation in case of conflict. When operating together, the units were known as the Federal Army (Bundesheer). The Federal Army system functioned during various conflicts of the 19th century, such as the First Schleswig War from 1848 to 1852. However, by the time of the Second Schleswig War of 1864, tension had grown between the main powers of the confederation, the Austrian Empire and the Kingdom of Prussia, and the German Confederation was dissolved after the Austro-Prussian War of 1866. Prussia formed the North German Confederation and the treaty provided for the maintenance of a Federal Army and a Federal Navy (Bundesmarine or Bundeskriegsmarine). Further laws on military duty also used these terms. Conventions (some later amended) were entered into between the North German Confederation and its member states, subordinating their armies to the Prussian Army in time of war, and giving the Prussian Army control over training, doctrine and equipment. Shortly after the outbreak of the Franco-Prussian War in 1870, the North German Confederation also entered into conventions on military matters with states that were not members of the confederation, namely Bavaria, Württemberg, and Baden. Through these conventions and the 1871 Constitution of the German Empire, an Army of the Realm (Reichsheer) was created.