Romania fought on the Russian side in the Russo-Turkish War and in the 1878 Treaty of Berlin, Romania was recognized as an independent state by the Great Powers.