Ukraine is a country in Eastern Europe. Ukraine borders the Russian Federation to the east and northeast, Belarus to the northwest, Poland, Slovakia and Hungary to the west, Romania and Moldova to the southwest, and the Black Sea and Sea of Azov to the south and southeast, respectively. It has an area of 603,628 km², making it the second largest contiguous country on the European continent, after the Russian Federation.
According to a popular and well established theory, the medieval state of Kievan Rus was established by the Varangians in the 9th century as the first historically recorded East Slavic state which emerged as a powerful nation in the Middle Ages until it disintegrated in the 12th century. By the middle of the 14th century, Ukrainian territories were under the rule of three external powers—the Golden Horde, the Grand Duchy of Lithuania, and the Kingdom of Poland. After the Great Northern War (1700–1721) Ukraine was divided between a number of regional powers and, by the 19th century, the largest part of Ukraine was integrated into the Russian Empire with the rest under Austro-Hungarian control. A chaotic period of incessant warfare ensued, with several internationally recognized attempts at independence from 1917 to 1921, following World War I and the Russian Civil War. Ukraine emerged from its own civil war, and on December 30, 1922 Ukrainian Soviet Socialist Republic became one of the founding republics of the Soviet Union. The Ukrainian SSR's territory was enlarged westward during the civil war shortly before, and after World War II, and further south in 1954 with the Crimea transfer