President Hoover tried to do something about the Depression, but it did not work. In 1932, he was defeated and Franklin D. Roosevelt became President. He created the New Deal. It was a series of government programs which would give relief (to the people who were hurt by the bad economy), recovery (to make the economy better), and reform (to make sure a depression never happens again).
The New Deal had many programs such as Social Security, the National Recovery Administration (regulated wages), Works Progress Administration (built thousands of roads, schools, government buildings and works of art), the Civilian Conservation Corps (gave young people jobs to help the environment), and Tennessee Valley Authority (built dams and electric lines in the South). These programs put millions of Americans to work, though often at low pay. Many of these programs were started early in Roosevelt's term in a time called the "Hundred Days" or in 1935 in a time called the "Second New Deal". Programs like Social Security grew out of populist movements by people such as Huey Long that were called "Share Our Wealth" and "Ham and Eggs". The New Deal also led to the rise of worker's unions such as the Congress of Industrial Organizations.
The New Deal is often called the period that "saved capitalism", and stopped America from becoming a Communist or Fascist state. Although the New Deal improved the economy, it did not end the Great Depression. The Great Depression was ended by World War II.
As World War II was beginning, the United States said they would not get involved in it. Most Americans thought the United States should remain neutral, and some people thought the United States should enter the war on the side of the Germans. Eventually, the U.S. did try to help the Allied Powers (Soviet Union, Britain, and France) with the Lend Lease Act. It gave the Allies a lot of money and guns in trade for use of air bases throughout the world.
On December 7, 1941, Japan attacked Pearl Harbor, a U.S.Naval base in Hawaii. The U.S. was no longer neutral, and it declared war on the Axis Powers (Germany, Japan, Italy). The U.S. entering World War II ended the Great Depression because the war created many jobs. While some of the battles the U.S. fought in were air and naval battles with Japan, the U.S. mainly fought in Europe and Africa. The U.S. opened up several fronts, including in North Africa and Italy. The U.S. also bombed Germany from airplanes, blowing up German cities and factories. On June 6, 1944 (D-Day), American and British forces invaded Normandy. A year later, the Allies had freed France and taken Berlin. In 1945, Roosevelt died, and Harry Truman became president. The U.S. decided to drop two atomic bombs on Japan. Japan gave up soon afterwards, and the war ended.
The war meant different things for women and minorities. During the war, many women worked in weapons factories. They were symbolized by a character called "Rosie the Riveter". Many African-Americans served in the army, but often in segregated units with white officers. Japanese-Americans on the West Coast were forced to live in internment camps, though a few also served in the Army.
After World War II, the Soviet Union and the United States were the two most powerful countries left in the world. The Cold War was a period of tension between the two countries over ways of life. The two countries tried to get other countries on their side. The Soviet Union tried to get countries to become Communist and the United States tried to stop them from being Communist. American and Soviet soldiers never fought in battles, but they fought indirectly in the Korean War (1950s) and the Vietnam War (1950s–1970s).
The Korean War lasted only a few years, but led to American soldiers being in Korea since then. The Vietnam War lasted much longer. It started with a few American troops in Vietnam, but by the 1960s thousands of Americans were being sent to Vietnam. Both wars were between a Northern Communist government helped by the Soviet Union and Communist China and a Southern government helped by the U.S. The Korean War resulted in a split Korea, but the Vietnam War resulted in a Communist Vietnam after the United States left due to American people wanting to end the war. Over a quarter million Americans died or were wounded in Vietnam, which was very much a military failure. The U.S. and Soviet Union argued about where they could place nuclear weapons. One of these arguments was the Cuban Missile Crisis. During the Cuban Missile Crisis, the U.S. and Soviet Union came very close to attacking each other with nuclear weapons.
During the Cold War, the United States had a "Red Scare" where the government tried to find people it thought were Communist. The House of Representatives had a group called the House Un-American Activities Committee to deal with this, and Joseph McCarthy led hearings in the Senate. The Red Scare led to people losing their jobs, going to jail, and even being executed. Many actors and authors were put on blacklists, which meant they could not get jobs in movies or get credit for their writings.
The Cold War began with an arms race between the United States and the Soviet Union to see who could have more and better weapons. This started after the Soviets were the second country to develop an atomic bomb. In the United States, this started something called the "Military Industrial Complex", which meant business and government working together to spend a lot of money on large-scale weapons projects. Business and government helped each other to get more money and more power. Part of the Complex was something called the Marshall Plan, which rebuilt Europe while making them buy American goods. The Complex allowed for a growing middle class, but also kept the Cold War going.
Besides the arms race, another part of the Cold War was the "Space Race". This started when the Soviets launched a satellite into space called "Sputnik" in 1957. Americans became worried that the United States was falling behind the Soviet Union, and made their schools focus more on mathematics and science. Within a few years, both the United States and the Soviet Union had sent satellites, animals and people into orbit. In 1969 the "Apollo 11" mission put Neil Armstrong and Buzz Aldrin on the Moon.
United States foreign policy changed in the 1970s when the United States left Vietnam and Richard Nixon left office due to a political scandal called Watergate. In the 1970s and 1980s, the United States had a policy of "detente" with the Soviet Union. This meant that the two countries signed treaties to stop use of weapons. Under Nixon and Reagan, the United States sent troops and money to many Latin American governments to stop them from being Communist. This led to violence in Latin America. Around this time, the economy suffered because the United States was not making as many things as it used to, and because some countries in the Middle East were not giving the U.S. as much oil as it wanted (this was called an "oil embargo"). The Middle East became very important in American foreign policy after several Americans were kidnapped in Iran in 1979. In the 1980s, people in the U.S. government sold weapons to people in Iran and gave the money to "contra" soldiers in Nicaragua. This was called the "Iran-Contra affair". In the 1970s and 1980s, the U.S. normalized relations with China. The Cold War came to an end as Communist governments in the Soviet Union and other countries fell apart.
The United States once again had prosperity. Millions of white people moved out of the cities and into suburbs, and into Southern and Western states known as the "Sunbelt". They bought new cars and television sets. The birth rate in the 1940s and 1950s rose, in what was called the "Baby Boom" The "Space Age" inspired "Googie" style art and architecture. Many more people became part of the middle class, but there were still many people who were poor.