In 1993, the monarchy was restored with Norodom Sihanouk reinstated as King, and the first post-war election was coordinated by UNTAC. The election was won by FUNCINPEC led by Sihanouk's son Ranariddh in a hung parliament. A power-sharing agreement was agreed with Ranariddh and Hun Sen of the Cambodian People's Party both simultaneously being co-Prime Ministers after the CPP threatened to secede part of the country if power was fully transferred to FUNCINPEC. The stability established following the conflict was shaken in 1997 by a coup d'état led by the co-Prime Minister Hun Sen, who ousted Ranariddh and other parties represented in the government and consolidated power for the CPP. After its government was able to stabilize under Sen, Cambodia was accepted into the Association of Southeast Asian Nations (ASEAN) on 30 April 1999. Norodom Sihamoni was crowned Cambodia's king in 2004 after his father Sihanouk's abdication.