Melnik was taken by the Imperial Russian Army during the Russo-Turkish War of 1877-1878, but was given back to the Ottoman Empire according to the Treaty of Berlin.
At the end of the Second Balkan War in 1913, the Greeks left Melnik and moved to Greece by the express orders of the Greek government; the order being given when it was known that Melnik was to remain Bulgaria [REF].