The history of Moldova spans prehistoric cultures, ancient and medieval empires, and periods of foreign rule and modern independence.

Evidence of human habitation dates back 800,000–1.2 million years, with significant developments in agriculture, pottery, and settlement during the Neolithic and Bronze Ages. In antiquity, Moldova's location made it a crossroads for invasions by the Scythians, Goths, Huns, and other tribes, followed by periods of Roman and Byzantine control. The medieval Principality of Moldavia emerged in the 1350s, and was the medieval precursor of modern Moldova and Romania. It reached prominence under rulers like Stephen the Great before becoming a vassal state of the Ottoman Empire from 1538, until the 19th century.

In 1812, following one of several Russian–Turkish wars, the eastern half of the principality, Bessarabia, was annexed by the Russian Empire, marking the beginning of Russian influence in the region. In 1918, Bessarabia briefly became independent as the Moldavian Democratic Republic and, following the decision of the Parliament (Sfatul Țării), united with Romania. During the Second World War it was occupied by the Soviet Union which reclaimed it from Romania. It joined the Union in 1940 as the Moldavian SSR. During this period, policies of Russification and economic transformation deeply affected the region.

The dissolution of the USSR in 1991 led to declared independence, followed by the Transnistria War in 1992, a conflict that left the Transnistrian region as a de facto independent state. Moldova continues to navigate a complex relationship between pro-Western and pro-Russian factions. In recent years, it has pursued closer ties with the European Union, submitting a formal membership application in 2022.

Prehistory

In 2010, Oldowan flint tools were discovered at Dubasari on the lower Dniester that are 800,000–1.2 million years old demonstrating that early humans were present in Moldova during the early Paleolithic. During prehistoric times there was a succession of cultures that flourished in the land of present-day Moldova from the end of the ice age up through the Neolithic Age, the Copper Age, the Bronze Age, and the beginning of the Iron Age, when historical records begin to be made about the people who lived in these lands. These cultures included the Linear Pottery culture (ca. 5500–4500 BC), the Cucuteni–Trypillian culture (ca. 5500–2750 BC), and the Yamna culture (ca. 3600–2300 BC). During this period of time many innovations and advancements were made, including the practice of agriculture, animal husbandry, kiln-fired pottery, weaving, and the formation of large settlements and towns. Indeed, during the Cucuteni–Trypillian Culture, some of the settlements in this area were larger than anywhere on Earth at the time, and they predate even the earliest towns of Sumer in the Mesopotamia. The area, stretching from the Dnieper River in the east to the Iron Gate of the Danube in the west (which included the land now in Moldova), had a civilization as highly advanced as anywhere else on Earth during the Neolithic period.Iranica Antiqua, vol. XXXVII 2002 Archeological Transformations:Crossing the Pastoral/Agricultural Bridge by Philip L. Khol

The question as to why this area did not remain at the forefront of technological and social development lies in the subsequent history of its geographical location. At the end of the mostly peaceful Neolithic period, this area became a highway for invaders from the east moving into Europe. By the time the historical written record begins to cover this area, it has already seen a number of invasions sweep over it, leaving social and political upheaval in their wake. This trend was to continue on a fairly regular basis up until the 20th century. With so much destruction, it was difficult for the residents of this area to recover from each successive invasion before encountering the next.

Antiquity and early Middle Ages

In recorded antiquity Moldova's territory was inhabited by several tribes, mainly by Akatziri, and at different periods also by Bastarnae, Scythians and Sarmatians. Between the 1st and 7th centuries AD, the south was intermittently under the Roman, then Byzantine Empires. Due to its strategic location on a route between Asia and Europe, Moldova was repeatedly invaded by, among others, the Goths, Huns, Avars, Magyars, Pechenegs, Cumans, and the Mongols. Csaba's Khalyzian wife, mother of Ed and Edumen, was from the area. Although the First Bulgarian Empire ruled parts of Moldavia between the reign of Krum to Presian I, the territory of Moldova itself was never conquered by them. The Bulanids ruled the area from the 8th century to the 10th century. Constantine Porphyrogenitus in De Administrando Imperio refers to the territory specifically as Atelkuzu (Ατελκουζου), the Black Cuman land of the Khalyzians and Pechenegs. It was part of the Principality of Halych in the 12th and 13th centuries before falling to the Golden Horde in 1241 until the early 14th century. The colonists of the Genoa Republic also left a trace in this region. The Hypatian Chronicle mentioned the name of the Bolokhoveni (the 13th century) a purportedly Romanian population connected to Voloch, the East Slavic exonym of the Romanians. Alexandru V. Boldur identified the Bolohoveni as Romanians.A.V. Boldur, Istoria Basarabiei, Editura Frunza, p.111-119

Principality of Moldavia (1346–1862)

Formation of the Principality

The medieval Principality of Moldavia was established in 1359 and covered the so-called Carpathian–Danube–Dniester area, stretching from Transylvania in the west to the Dniester River in the east.Soldier Khan , Mike Bennighof, Ph.D. Its territory comprised the present-day territory of the Republic of Moldova, the eastern 8 of the 41 counties of Romania (a region still called Moldova by the local population), the Chernivtsi oblast and Budjak region of Ukraine. Its nucleus was in the northwestern part, the Țara de Sus ("Upper Land"), part of which later became known as Bukovina. The name of the principality originates from the Moldova River.

The foundation of Moldavia is attributed to the Vlach (an old exonym for Romanian) noblemen Dragoş of Bedeu, from the Voivodeship of Maramureș, who had been ordered in 1343 (1285 after other sources) by the Hungarian king to establish a defense for the historic Kingdom of Hungary against the Tatars, and Bogdan I of Cuhea, another Romanian from Maramureș, who became the first independent prince of Moldavia, when he rejected Hungarian authority in 1359. Bogdan I left his lands from Maramureș with his army and part of the Romanian population, by crossing the mountains to the east, after entering in conflict with the Hungarian rulers. From the 14th century onward, Turkic documents would refer to Moldova as "Kara-Boğdan", or "Black Bogdan", thanks to the success of his dynasty.

Moldova also had rich political relations with Poland. In 1387, the great hospodar of Moldova, Peter I, paid a feudal tribute to the Polish king. For the next one hundred and fifty years, relations between Moldova and Poland were periodically friendly, and only occasional conflicts.Milewski D., Mołdawia między Polską a Turcją. Hospodar Miron, 2014

The greatest Moldavian personality was prince Stephen the Great, who ruled from 1457 to 1504. He fought the Hungarian Kingdom, the Polish Kingdom and the Ottoman Empire, with success, for the most part of his rule.

Ottoman Suzerainty

Stephen III was succeeded by increasingly weaker princes, and in 1538 Moldavia became a vassal of the Ottoman Empire, to which it owed a percentage of the internal revenue, that in time rose to 10%. Moldavia was forbidden to have foreign relations to the detriment of the Ottoman Empire (although at times the country managed to circumvent this interdiction), but was allowed internal autonomy, including sole authority over foreign trade. Turks were legally forbidden to own land or build religious establishments in Moldavia. In 1574, a major uprising took place there under the treachery of John III the Terrible. Despite a number of successes, he eventually died in the Battle of Cahul and the uprising was suppressed. Prince Vasile Lupu had secured the Moldavian throne in 1634 after a series of complicated intrigues, and managed to hold it for twenty years. Lupu was a capable administrator and a brilliant financier, and soon was the richest man in the Christian East. Judiciously placed gifts kept him on good terms with the Ottoman authorities.For Basil Lupul see N.Norga "Byzance après Byzance", pp. 163–81see Steven Runciman. "The Great Church in captivity" Edition 3, 1985 pp. 286–7, 341–3, 370

In the 18th century, the territory of Moldavia often became a transit or war zone during conflicts between the Ottomans, Austrians, and Russians. In 1774, following a victory in a war against the Ottomans, Russia occupied Christian Moldavia, still a vassal of the Ottoman Empire at the time. In 1775, the Habsburg monarchy annexed ca 11% of the territory of Moldavia, which became known as Bukovina. By the Treaty of Bucharest following the Russo-Turkish War (1806–1812), Russia had annexed further 50% of its territory, which became known as Bessarabia.

Bessarabia under the Russian Empire (1812–1917)

With the notable exception of Transnistria, the territory of today's Republic of Moldova covers most of the historical region of Bessarabia. Until 1812, the term "Bessarabia" referred to the region between the Danube, Dniester, the Black Sea shores, and the Upper Trajan Wall, slightly larger than what today is called Budjak. By the Treaty of Bucharest of May 28, 1812 between the Ottoman Empire and the Russian Empire — concluding the Russo-Turkish War (1806–1812) — the latter annexed the eastern half of the Principality of Moldavia. That region was then called Bessarabia.Mitrasca, pp. 10–11.

Initially, after being annexed by the Russian Empire, Bessarabia enjoyed a period of local autonomy until 1828. Organized as an imperial district (oblast), it was governed by a "provisional government" with two departments: a civil administration and a religious administration, the former led by the aged Moldavian boyar Scarlat Sturdza, the latter – by the archbishop Gavriil Bănulescu-Bodoni. On top of these was the Russian military administration of Governor General Harting. However, already in 1813, the civil administration was handed to the Governor General. In 1818, reform-minded Russian tsar Alexander I passed a Settlement of the establishment of the region of Bessarabia which divided the legal power between the tsar-appointed Governor General (Bakhmetiev) and a 10-member High Council of the Region with 4 members appointed by the tsar and 6 elected by the local nobility. In lieu of the older 12 lands, the region was divided into 6, later 9 counties. In 1828 however, the conservative tsar Nikolai I abrogated the Settlement and passed a new regulation which endowed the Governor General with supreme power, with the regional council having only advisory functions and meeting twice a year. Article 63 of the regulation stated that all administrative personnel must know and perform their duties in Russian. Nevertheless, Romanian language would occasionally appear in documents up to 1854.Ion Nistor, Istoria Basarabiei, 4th edition, Cartea moldovenească, Chișinău, 1991, p. 179-189

At the end of the Crimean War, in 1856, by the Treaty of Paris, the southern parts of Bessarabia (including a part of Budjak) were returned to Moldavia, which organized the territory into the districts of Cahul, Bolgrad and Ismail. Consequently, Russia lost access to the Danube river. In 1859, the Principalities of Moldavia and Wallachia united and formed the Romanian United Principalities, a vassal state of the Ottoman Empire.