It was put to a UN vote on whether UN forces should attempt to gain control of Korea under democratic rule. The motion was passed since the Soviet Union was not present during the vote. Had the Soviets vetoed the proposal, the UN forces would not have been able to press further into Korea. Eventually UN forces captured Pyongyang and Kim's government was forced to flee north over the Yalu River into China. The Chinese army mobilized and eventually crossed the Yalu River and fought alongside the KPA and Red Army against US, British and UN forces. Eventually they reached a stalemate since neither force could gain full sovereignty of the peninsula. An armistice was signed on July 27, 1953 ending three years of fighting and established the two sovereign nations of North Korea and South Korea. Since no peace treaty was signed, the two Koreas are technically still in a state of war with each other.