For a short period in the 14th century, Dobruja became part of Wallachia under the rule of voivode Mircea the Elder. However, the territory fell under Ottoman rule from the mid-15th century until 1878, when it was awarded to Romania for its role in the 1877-78 Russo-Turkish War, and as compensation for the transfer of a region partly overlapping the Southern Bessarabia. Under the treaties of San Stefano and Berlin, Romania received Northern Dobruja while the newly restored Principality of Bulgaria received the smaller southern part of the region. After the Second Balkan War in 1913, Romania also annexed the Bulgarian Southern Dobruja, which it ruled until the signing of the 1940 Treaty of Craiova. The treaty was approved by Britain, Vichy France, Germany, Italy, the Soviet Union and the United States. It included a population exchange which removed the Bulgarian minority from Northern Dobruja, which was evacuated to the southern part. At the same time, the Romanians (including Aromanians and Megleno-Romanians) from Southern Dobruja were brought north of the border.