The National Defense and Education Act (NDEA) was enacted in 1958 to provide federal funding to improve American education, particularly in science, mathematics, and foreign languages, in response to the Soviet Union's launch of Sputnik. This act marked a significant shift in U.S. educational policy, emphasizing the need for a strong educational foundation to maintain national security and compete globally during the Cold War.