 He was appointed Domnitor, Ruling Prince of the United Principality of Romania, as Prince Carol of Romania.Romania declared its independence from the Ottoman Empire after the 1877-1878 Russo-Turkish War, in which the Ottomans fought against the Russian empire.In the 1878 Treaty of Berlin, Romania was officially recognized as an independent state by the Great Powers.