After the Russo-Turkish War ended with a Russian victory, the Treaty of San Stefano was signed by Russia and the Ottoman Empire on 3 March 1878. Under this, a large Bulgarian vassal state was agreed to, which was significantly larger: its lands encompassed nearly all ethnic Bulgarians in the Balkans, and included most of Moesia, Thrace and Macedonia, stretching from the Black Sea to the Aegean. However, the United Kingdom and Austria-Hungary were against the establishment of such a large Russian client state in the Balkans, fearing it would shift the balance of power in the Mediterranean. Due to this, the great powers convened and signed the Treaty of Berlin, superseding the Treaty of San Stefano, which never went into effect. This created a much smaller principality, alongside an autonomous Eastern Rumelia within the Ottoman Empire.