Following a failed Bulgarian revolt in 1876, the subsequent Russo-Turkish war ended with the provisional Treaty of San Stefano established a huge new realm of Bulgaria including most of Macedonia and Thrace. The final 1878 Treaty of Berlin allowed the other Great Powers to limit the size of the new Russian client state and even briefly divided this rump state in two, Bulgaria and Eastern Rumelia, but the irredentist claims from the first treaty would direct Bulgarian claims through the first and second Balkan Wars and both World Wars.