After the Russo-Turkish War (1877–78) Bulgaria was liberated from Ottoman rule and Knyaz Alexander Battenberg was elected in 1879 as Prince of Bulgaria at the request of the Russian Tsar, his uncle, Alexander II. The latter was assassinated in 1881 and was succeeded by the conservative Alexander III.