In addition to the increasing unpopularity of the Bảo Đại government, the communist victory in China in 1949 also led to a further revival of the fortunes of the Việt Minh. When China and the Soviet Union recognized the DRV government, the United States reacted by extending diplomatic recognition to Bảo Đại's government in March 1950. This and the outbreak of the Korean War in June led to U.S. military aid and active support of the French war effort in Indochina, now seen as anti-communist rather than colonialist. Despite this, the war between the French colonial forces and the Việt Minh started to go badly for the French, culminating in a major victory for the Việt Minh at Điện Biên Phủ. This led to the negotiating of a 1954 peace deal between the French and the Việt Minh, known as the Geneva Accords, which partitioned Vietnam at the 17th parallel. The north side was given to the DRV, with the State of Vietnam receiving the south. Bảo Đại remained "Head of State" of South Vietnam, but moved to Paris and appointed Ngô Đình Diệm as his prime minister.