Romania gained independence after the Russo-Turkish War of 1877-1878 amid the national rebirth of Romanians in the 19th century. The unification of Bessarabia, Bukovina, and eventually Transylvania with the Kingdom of Romania led to the establishment of Greater Romania. Romania entered World War I on the side of the Entente powers to achieve this unification, which was favored by the political actions of Romanian elites in Romania and Austria-Hungary as those empires collapsed, and the principle of self-determination of nationalities became established internationally in the context of widespread Romanian national sentiment.