China controlled Vietnam for nearly 1000 years until 939. After independence from China, Vietnam thrived as an advanced culture until the late 1800s when France colonized it. The end of WWII marked the beginning of Vietnam's fight for independence from France under Ho Chi Minh. It took 8 years of fighting but the French were defeated in 1954. The US then entered to fight on the side of South Vietnam against Ho Chi Minh's North Vietnam, but ultimately withdrew in 1975 after failing to contain the spread of communism.