During the Russo-Turkish War, Romania, which was "de facto" independent, but "de jure" was still a vasal of the Ottoman Empire, proclaimed its full independence. After the commander of the Russian armies had requested Romania's help, Carol accepted to enter the war with the condition of being appointed as commander of the armies that were besieging Plevna. After the end of the Romanian War of Independence in the 1878, at the Treaty of Berlin, Romania was subsequently recognized as an independent state by the Great Powers.