into Korea. Though the Soviet declaration of war had been agreed by the Allies at the Yalta Conference, the US government became concerned at the prospect of all of Korea falling under Soviet control. The US government therefore requested Soviet forces halt their advance at the 38th parallel north, leaving the south of the peninsula, including the capital, Seoul, to be occupied by the US. This was incorporated into General Order No. 1 to Japanese forces after the Surrender of Japan on 15 August. On 24 August, the Red Army entered Pyongyang and established a military government over Korea north of the parallel. American forces landed in the south on 8 September and established the United States Army Military Government in Korea. The Allies had originally envisaged a joint trusteeship which would steer Korea towards independence, but most Korean nationalists wanted independence immediately. Meanwhile, the wartime co-operation between the Soviet Union and the US deteriorated as the Cold War took hold. Both occupying powers began promoting into positions of authority Koreans aligned with their side of politics and marginalizing their opponents. Many of these emerging political leaders were returning exiles with little popular support. In North Korea, the Soviet Union supported Korean Communists. Kim Il-sung, who from 1941 had served in the Soviet Army, became the major political figure. Society was centralized and collectivized, following the Soviet model. Politics in the South was more tumultuous, but the strongly anti-Communist Syngman Rhee emerged as the most prominent politician. The US government took the issue to the United Nations, which led to the formation of the United Nations Temporary Commission on Korea (UNTCOK) in 1947. The Soviet Union opposed this move and refused to allow UNTCOK to operate in the North. UNTCOK organized a general election in the South, which was held on 10 May 1948. The Republic of Korea was established with Syngman Rhee as president, and formally replaced the US military occupation on 15 August. In North Korea, the Democratic People's Republic of Korea was declared on 9 September, with Kim Il-sung as prime minister. Soviet forces left the North on 10 December 1948. US forces left the South the following year, though the US Korean Military Advisory Group remained to train the Republic of Korea Army. Both opposing governments considered themselves to be the government of the whole of Korea, and both saw the division as temporary. The DPRK