By the start of WWII, aircraft carriers typically carried three types of aircraft: torpedo bombers, which could also be used for conventional horizontal bombing and reconnaissance; dive bombers, also used for reconnaissance; and fighters for fleet defence and bomber escort duties. Because of the restricted space on aircraft carriers, these aircraft were almost always small, single-engined warplanes. The first true demonstration of naval air power was the victory of the Royal Navy at the Battle of Taranto in 1940, which set the stage for Japan's much larger and more famous attack on Pearl Harbor the following year.