After the Second World War, the Soviet Ukraine ended up with the borders extended West, with most of Ukrainian lands under one political state. As a result of a political compromise between the West and the Soviets, Ukraine, became one of the members of the United Nations.
Growth in United Nations membership, 1945-present http://www.un.org/en/members/growth.shtml