During the late 19th and early 20th centuries, the US underwent rapid industrialization, with industries like oil, steel, and textiles booming. Inventions in electricity also helped drive economic growth. However, the stock market crash of 1929 marked the beginning of the Great Depression, with bank failures and mass unemployment. After the Pearl Harbor attack in 1941, the US entered World War II and its industrial might helped ensure victories over Germany and Japan. However, the postwar period saw increased tensions with the Soviet Union and the emergence of the Cold War.