structural:expansion, linguistic:voice_change, structural:scholar_edition
UN intervention and the formation of separate governments

On 10 May 1948 the south held a general election. It took place amid widespread violence and intimidation, as well as a boycott by opponents of Syngman Rhee. On 15 August, the " Republic of Korea " (Daehan Minguk) formally took over power from the U.S. military, with Syngman Rhee as the first president. USAMGIK was formally dissolved and the Korean Military Advisory Group was formed to train and provide support for the South Korean army. U.S forces started to withdraw in a process that was completed by 1949. In the North, the " Democratic People's Republic of Korea " (Chosŏn Minjujuŭi Inmin Konghwaguk) was declared on 9 September, with Kim Il Sung as prime minister.