query: When was the Imperial German Navy established?
passage: Imperial German Navy
The Imperial German Navy (German: Kaiserliche Marine, "Imperial Navy") was the navy created at the time of the formation of the German Empire. It existed between 1871 and 1919, growing out of the small Prussian Navy (from 1867 the North German Federal Navy), which primarily had the mission of coastal defence. Kaiser Wilhelm II greatly expanded the navy, and enlarged its mission. The key leader was Admiral Alfred von Tirpitz, who greatly expanded the size and quality of the navy, while adopting the sea power theories of American strategist Alfred Thayer Mahan. The result was a naval arms race with Britain as the German navy grew to become one of the greatest maritime forces in the world, second only to the Royal Navy. The German surface navy proved ineffective during World War I; its only major engagement, the Battle of Jutland, was indecisive. However, the submarine fleet was greatly expanded and posed a major threat to the British supply system. The Imperial Navy's main ships were turned over to the Allies, but were sunk at Scapa Flow in 1919 by German crews.
passage: German Naval Laws
Germany's real threat to the Royal Navy began with the Second Naval Law. During the Second Boer War (1899–1902), the Germans greatly sympathized with the Boers, whom they considered a racially and culturally akin people. In January 1900, British cruisers on patrol detained three German mail steamers off the coast of Africa to search them, suspecting them of carrying materiel to the Boers. Although the British quickly apologized, the Germans were outraged, and Admiral von Tirpitz took advantage of the anger to introduce a new naval bill, which passed through the Reichstag with very little opposition on June 20 of that year. This law doubled the size of the fleet from 19 to 38 battleships; two flagships, four battle squadrons of eight battleships each, and four reserve battleships were to be constructed over seventeen years, from 1901 to 1917. This law made clear that not only was the German Navy to be a powerful battle fleet instead of a coastal defence force (in the process turning Germany into the second-strongest naval power in the world), but that the primary opponent of this enlarged fleet was to be the United Kingdom.