A torpedo bomber is a military aircraft designed primarily to attack ships with aerial torpedoes. Torpedo bombers came into existence just before the First World War almost as soon as aircraft were built that were capable of carrying the weight of a torpedo, and remained an important aircraft type until they were rendered obsolete by anti-ship missiles. They were an important element in many famous Second World War battles, notably the British attack at Taranto, the sinking of the German battleship "Bismarck", and the Japanese attack on Pearl Harbor.