On January 7, 1979, Vietnamese forces ousted the Khmer Rouge. After more than ten years of painfully slow rebuilding, with only meager outside help, the United Nations intervened resulting in the Paris Peace Accord on October 23, 1992 and created conditions for general elections in May 1993, leading to the formation of the current government and the restoration of Prince Sihanouk to power as King in 1993. The Khmer Rouge continued to control portions of western and northern Cambodia until the late 1990s, when they surrendered to government forces in exchange for either amnesty or re-adjustment for positions into the Cambodian government.