The Vietnam War lasted from 1954 to 1975 and involved military escalation by the United States in an attempt to prevent South Vietnam from falling to communist control. It began as a war of independence against the French and resulted in the partition of Vietnam into communist North Vietnam and democratic South Vietnam. Despite massive U.S. military involvement and bombing campaigns, the U.S. struggled against Vietnamese guerrilla tactics and growing domestic anti-war sentiment. This led to the withdrawal of U.S. troops and the eventual defeat of South Vietnam in 1975.