The Battle of the Atlantic, the longest continuous military campaign in World War II, ran from 1939 to the defeat of Nazi Germany in 1945, covering a major part of the naval history of World War II. At its core was the Allied naval blockade of Germany, announced the day after the declaration of war, and Germany's subsequent counterblockade. The campaign peaked from mid-1940 to the end of 1943.
The Battle of the Atlantic pitted U-boats and other warships of the German Kriegsmarine (navy) and aircraft of the Luftwaffe (air force) against the Royal Navy, Royal Canadian Navy, United States Navy, and Allied merchant shipping. Convoys, coming mainly from North America and predominantly going to the United Kingdom and the Soviet Union, were protected for the most part by the British and Canadian navies and air forces. These forces were aided by ships and aircraft of the United States beginning on 13 September 1941. The Germans were joined by submarines of the Italian Regia Marina (royal navy) after Germany's Axis ally Italy entered the war on 10 June 1940.