Original sentence: Dobruja was the first territory settled by the Bulgars as they migrated to the Balkans at the end of the 7th century, and with the exception of short periods of Byzantine and Tatar domination, remained under their rule until 14th century.In 1878 Romania received Northern Dobruja as compensation for ceding Southern Bessarabia to Russia, despite the presence of a large Bulgarian enclave in the nortwest (around Babadag and Tulcea), whereas Bulgaria received the smaller, southern part
Edited sentence: Dobrogea fell at certains times under Byzantine, Bulgarian and Tatar domination until the 14th century.In 1878 Romania received Northern Dobruja as compensation for ceding Southern Bessarabia to Russia, whereas Bulgaria received the smaller, southern part.The 1940 borders were reaffirmed in the post-war treaties of 1947.The Romanian inhabitants (most of them being Aromanian refugee-settlers from Macedonia along with some colonists from Wallachia and the local Romanian population) were forced to leave the regained territory, while the Bulgarian minority in the north were in turn made to leave for Bulgaria