Ukraine is a country in Eastern Europe. It is the second-largest European country after Russia, which borders it to the east and northeast. It also borders Belarus to the north; Poland and Slovakia to the west; Hungary, Romania and Moldova to the southwest; with a coastline along the Black Sea and the Sea of Azov to the south and southeast. Kyiv is the nation's capital and largest city, followed by Kharkiv, Dnipro, and Odesa. Ukraine's official language is Ukrainian.
During the Middle Ages, Ukraine was the site of early Slavic expansion and the area later became a key centre of East Slavic culture under the state of Kievan Rus', which emerged in the 9th century. The state eventually disintegrated into rival regional powers and was destroyed by the Mongol invasions of the 13th century. The area was then contested, divided, and ruled by a variety of external powers for the next 600 years, including the Polish–Lithuanian Commonwealth, the Austrian Empire, the Ottoman Empire, and the Tsardom of Russia. The Cossack Hetmanate emerged in central Ukraine in the 17th century, but was partitioned between Russia and Poland, and absorbed by the Russian Empire. Ukrainian nationalism developed and, following the Russian Revolution in 1917, the short-lived Ukrainian People's Republic was formed. The Bolsheviks consolidated control over much of the former empire and established the Ukrainian Soviet Socialist Republic, which became a constituent republic of the Soviet Union when it was formed in 1922. In the early 1930s, millions of Ukrainians died in the Holodomor, a human-made famine. The German occupation during World War II in Ukraine was devastating, with 7 million Ukrainian civilians killed, including most Ukrainian Jews.
Ukraine gained independence in 1991 as the Soviet Union dissolved, and declared itself neutral. A new constitution was adopted in 1996. A series of mass demonstrations, known as the Euromaidan, led to the establishment of a new government in 2014 after a revolution. Russia then unilaterally annexed Ukraine's Crimean Peninsula, and pro-Russian unrest culminated in a war in the Donbas between Russian-backed separatists and government forces in eastern Ukraine. Russia launched a full-scale invasion of Ukraine in 2022. Since the outbreak of war with Russia, Ukraine has continued to seek closer ties with the United States, European Union, and NATO.
Ukraine is a unitary state and its system of government is a semi-presidential republic. A developing country, it is the poorest country in Europe by nominal GDP per capita and corruption remains a significant issue. However, due to its extensive fertile land, pre-war Ukraine was one of the largest grain exporters in the world. Ukraine is considered a middle power in global affairs, and the Ukrainian Armed Force is the fifth largest armed force in the world in terms of both active personnel as well as total number of personnel with the eighth largest defence budget in the world. The Ukrainian Armed Forces also operates one of the largest and most diverse drone fleets in the world. It is a founding member of the United Nations, as well as a member of the Council of Europe, the World Trade Organization, and the OSCE. It is in the process of joining the European Union and has applied to join NATO.