After several years in exile, Diệm returned home in July 1954 and was appointed prime minister by Bảo Đại, the head of the Western-backed State of Vietnam. The Geneva Accords were signed soon after he took office, formally partitioning Vietnam along the 17th parallel. Diệm soon consolidated power in South Vietnam, aided by his brother Ngô Đình Nhu. After a rigged referendum in 1955, he proclaimed the creation of the Republic of Vietnam, with himself as president. His government was supported by other anti-communist countries, most notably the United States. Diệm pursued a series of nation-building schemes, emphasising industrial and rural development. From 1957, he was faced with a communist insurgency backed by North Vietnam, eventually formally organized under the banner of the Việt Cộng. He was subject to a number of assassination and coup attempts, and in 1962 established the Strategic Hamlet Program as the cornerstone of his counterinsurgency effort.