The people of Vietnam regained independence and broke away from China in AD 938 after their victory at the battle of Bach Dang River. Successive dynasties flourished along with geographic and political expansion deeper into Southeast Asia, until it was colonized by the French in the mid-19th century. Efforts to resist the French eventually led to their expulsion from the country in the mid-20th century, leaving a nation divided politically into two countries. Fighting between the two sides continued during the Vietnam War, ending with a North Vietnamese victory in 1975.
Emerging from this prolonged military engagement, the war-ravaged nation was politically isolated. The government's centrally planned economic decisions hindered post-war reconstruction and its treatment of the losing side engendered more resentment than reconciliation. In 1986, it instituted economic and political reforms and began a path towards international reintegration. By 2000, it had established diplomatic relations with most nations. Its economic growth had been among the highest in the world in the past decade. These efforts culminated in Vietnam joining the World Trade Organization in 2007 and its successful bid to become a non-permanent member of the United Nations Security Council in 2008.