Having its reputation at stake, Russia had no other choice but to declare war on the Ottomans in April 1877. The Romanian army and a small contingent of Bulgarian exiles also fought alongside the advancing Russians. The Russians and Romanians were able to inflict a decisive defeat on the Ottomans at the Battle of Shipka Pass and at the Pleven, and, by January 1878 they had occupied much of Bulgaria. They were thus able to dictate terms to the Sultan, and in the Treaty of San Stefano they proposed creating a large Bulgarian state, embracing almost all of the lands populated by Bulgarians. The Sultan was in no position to resist, but the other powers were not willing to allow the dismemberment of the Ottoman Empire or the creation of a large Pro-Russian state on the Balkans.