Romania is a country in Central and Southeastern Europe. It lies on the lower course of the Danube, north of the Balkan Peninsula, and on the northwestern shore of the Black Sea. It borders Ukraine to the north and east, Hungary to the west, Serbia to the southwest, Bulgaria to the south, Moldova to the east, and the Black Sea to the southeast. It is the twelfth-largest country in Europe by area, covering 238,397 km2 (92,046 mi2), and the sixth-most populous member state of the European Union, with 19 million inhabitants. The capital, largest city and economic centre is Bucharest. Other major cities include Cluj-Napoca, Iași, Constanța, Timișoara and Brașov.
Romania was settled during the Lower Paleolithic, later becoming Dacia before Trajan's Dacian Wars and Romanisation. The modern Romanian state was formed in 1859 with the unification of Moldavia and Wallachia under Alexandru Ioan Cuza, becoming the Kingdom of Romania in 1881 under Carol I of Romania. Romania gained independence from the Ottoman Empire in 1877, formalised by the Treaty of Berlin. After World War I, Transylvania, Banat, Bukovina, and Bessarabia joined the Old Kingdom, forming Greater Romania, which reached its largest territorial extent. In 1940, under Axis pressure, Romania lost territories to Hungary, Bulgaria, and the Soviet Union. Following the Act of 23 August, Romania switched sides to join the Allies. After World War II, it regained Northern Transylvania through the Paris Peace Treaties. Under Soviet occupation, King Michael I was forced to abdicate, and Romania became a socialist republic and Warsaw Pact member. After the fall of communism and the Romanian revolution in 1989, Romania transitioned to liberal democracy.
Romania is a developed country with a high-income economy and is widely regarded as a middle power in international relations. The country possesses 11 UNESCO World Heritage Sites. Romania is a global net exporter of automotive parts and is an increasingly prominent technology centre with some of the fastest internet speeds in the world. Romania is a member of several international organisations, including the European Union, NATO, and the BSEC.
Romania derives from the local name for Romanian (Romanian: român), which in turn derives from Latin romanus, meaning "Roman" or "of Rome". This ethnonym for Romanians is first attested in the sixteenth century by Italian humanists travelling in Transylvania, Moldavia, and Wallachia. The oldest known surviving document written in Romanian that can be precisely dated, a 1521 letter known as the "Letter of Neacșu from Câmpulung", is notable for including the first documented occurrence of Romanian in a country name: Wallachia is mentioned as Țara Rumânească.
Human remains found in Peștera cu Oase ("Cave with Bones"), radiocarbon date from circa 40,000 years ago, and represent the oldest known Homo sapiens in Europe. Neolithic agriculture spread after the arrival of a mixed group of people from Thessaly in the 6th millennium BC. Excavations at the Poiana Slatinei site near a salt spring next to Lunca, Neamț yielded the earliest evidence for salt exploitation in Europe; here salt production began between the 5th and 4th millennium BC. The first permanent settlements developed into "proto-cities", which were larger than 320 hectares (800 acres). The Cucuteni–Trypillia culture—the best known archaeological culture of Old Europe—flourished in Muntenia, southeastern Transylvania and northeastern Moldavia in the 3rd millennium BC.
The first fortified settlements appeared around 1800 BC, showing the militant character of Bronze Age societies.
Greek colonies established on the Black Sea coast in the 7th century BC became important centres of commerce with the local tribes. Among the native peoples, Herodotus listed the Getae of the Lower Danube region, the Agathyrsi of Transylvania and the Syginnae of the plains along the river Tisza at the beginning of the 5th century BC. Centuries later, Strabo associated the Getae with the Dacians who dominated the lands along the southern Carpathian Mountains in the 1st century BC. Burebista was the first Dacian ruler to unite the local tribes. He also conquered the Greek colonies in Dobruja and the neighbouring peoples as far as the Middle Danube and the Balkan Mountains between around 55 and 44 BC. After Burebista was murdered in 44 BC, his kingdom collapsed.
The Romans reached Dacia during Burebista's reign and conquered Dobruja in 46 AD. Dacia was again united under Decebalus around 85 AD. He resisted the Romans for decades, but the Roman army defeated his troops in 106 AD. Emperor Trajan transformed Banat, Oltenia and the greater part of Transylvania into a new province called Roman Dacia, but Dacian, Germanic and Sarmatian tribes continued to dominate the lands along the Roman frontiers. The Romans pursued an organised colonisation policy, and the provincials enjoyed a long period of peace and prosperity in the 2nd century. Scholars accepting the Daco-Roman continuity theory—one of the main theories about the origin of the Romanians—say that the cohabitation of the native Dacians and the Roman colonists in Roman Dacia was the first phase of the Romanians' ethnogenesis. The Carpians, Goths and other neighbouring tribes made regular raids against Dacia from the 210s. The Romans could not resist, and Emperor Aurelian ordered the evacuation of the province Dacia Trajana in the 270s. Scholars supporting the continuity theory are convinced that most Latin-speaking commoners stayed behind when the army and civil administration was withdrawn. The Romans did not abandon their fortresses along the northern banks of the Lower Danube for decades, and Dobruja (known as Scythia Minor) remained an integral part of the Roman Empire until the early 7th century.
The Goths were expanding towards the Lower Danube from the 230s, forcing the native peoples to flee to the Roman Empire or to accept their suzerainty. The Goths' rule ended abruptly when the Huns invaded their territory in 376, causing new waves of migrations. The Huns forced the remnants of the local population into submission, but their empire collapsed in 454. The Gepids took possession of the former Dacia province. Place names that are of Slavic origin abound in Romania, indicating that a significant Slavic-speaking population lived in the territory. The first Slavic groups settled in Moldavia and Wallachia in the 6th century, in Transylvania around 600. The nomadic Avars defeated the Gepids and established a powerful empire around 570. The Bulgars, who also came from the European Pontic steppe, occupied the Lower Danube region in 680.
After the Avar Khaganate collapsed in the 790s, the First Bulgarian Empire became the dominant power of the region, occupying lands as far as the river Tisa. The First Bulgarian Empire had a mixed population consisting of the Bulgar conquerors, Slavs and Vlachs (or Romanians) but the Slavicisation of the Bulgar elite had already begun in the 9th century. Following the conquest of southern Transylvania around 830, people from the Bulgar Empire mined salt at the local salt mines. The Council of Preslav declared Old Church Slavonic the language of liturgy in the country in 893. The Vlachs also adopted Old Church Slavonic as their liturgical language.
The Magyars (or Hungarians) took control of the steppes north of the Lower Danube in the 830s, but the Bulgarians and the Pechenegs forced them to abandon this region for the lowlands along the Middle Danube around 894. Centuries later, the Gesta Hungarorum wrote of the invading Magyars' wars against three dukes—Glad, Menumorut and the Vlach Gelou—for Banat, Crișana and Transylvania. The Gesta also listed many peoples—Slavs, Bulgarians, Vlachs, Khazars, and Székelys—inhabiting the same regions. The reliability of the Gesta is debated. Some scholars regard it as a basically accurate account, others describe it as a literary work filled with invented details. The Pechenegs seized the lowlands abandoned by the Hungarians to the east of the Carpathians.