stylistic:style_transfer, stylistic:tone, information:highlighting
War with Russia

Abdul Hamid's biggest fear, near dissolution, was realized with the Russian declaration of war on 24 April 1877. In that conflict, the Ottoman Empire fought without help from European allies. Russian chancellor Prince Gorchakov had by that time effectively purchased Austrian neutrality with the Reichstadt Agreement. The British Empire, though still fearing the Russian threat to the British presence in India, did not involve itself in the conflict because of public opinion against the Ottomans, following reports of Ottoman brutality in putting down the Bulgarian uprising. Russia's victory was quick; the conflict ended in February 1878. The Treaty of San Stefano, signed at the end of the war, imposed harsh terms: the Ottoman Empire gave independence to Romania, Serbia, and Montenegro; it granted autonomy to Bulgaria; instituted reforms in Bosnia and Herzegovina; and ceded parts of Dobrudzha to Romania and parts of Armenia to Russia, which was also paid an enormous indemnity. After the war, Abdul Hamid suspended the constitution in February 1878 and dismissed the parliament, after its only meeting, in March 1877. For the next three decades, Abdul Hamid ruled the Ottoman Empire from Yıldız Palace.

As Russia could dominate the newly independent states, the Treaty of San Stefano greatly increased its influence in Southeastern Europe. At the Great Powers' insistence (especially the United Kingdom's), the treaty was revised at the Congress of Berlin so as to reduce the great advantages Russia gained. In exchange for these favors, Cyprus was ceded to Britain in 1878. There were troubles in Egypt, where a discredited khedive had to be deposed. Abdul Hamid mishandled relations with Urabi Pasha, and as a result, Britain gained de facto control over Egypt and Sudan by sending its troops in 1882 to establish control over the two provinces. Cyprus, Egypt, and Sudan ostensibly remained Ottoman provinces until 1914, when Britain officially annexed them in response to the Ottoman participation in World War I on the side of the Central Powers.