The Japanese Navy was the third largest navy in the world by 1920, behind the Royal Navy and the United States Navy (USN). It was supported by the Imperial Japanese Navy Air Service for aircraft and airstrike operation from the fleet. It was the primary opponent of the Western Allies in the Pacific War.
The origins of the Imperial Japanese Navy go back to early interactions with nations on the Asian continent, beginning in the early medieval period and reaching a peak of activity during the 16th and 17th centuries at a time of cultural exchange with European powers during the Age of Discovery. After two centuries of stagnation during the country's ensuing seclusion policy under the shōguns of the Edo period, Japan's navy was comparatively backward when the country was forced open to trade by American intervention in 1854. This eventually led to the Meiji Restoration. Accompanying the re-ascendance of the Emperor came a period of frantic modernization and industrialization. The navy's history of successes, sometimes against much more powerful foes as in the Sino-Japanese war and the Russo-Japanese War, ended in almost complete annihilation during the concluding days of World War II, largely by the USN.
Japan has a long history of naval interaction with the Asian continent, involving transportation of troops between Korea and Japan, starting at least with the beginning of the Kofun period in the 3rd century.
Japan undertook major naval building efforts in the 16th century, during the Warring States period, when feudal rulers vying for supremacy built vast coastal navies of several hundred ships. Around that time Japan may have developed one of the first ironclad warships when Oda Nobunaga, a daimyō, had six iron-covered Oatakebune made in 1576. In 1588 Toyotomi Hideyoshi issued a ban on Wakō piracy; the pirates then became vassals of Hideyoshi, and comprised the naval force used in the Japanese invasion of Korea (1592–1598).