In 1876, there was the April Uprising, a Bulgarian rebellion against the Ottoman Empire. In the Russo-Turkish War (1877–1878), the Russian Empire overcame the Ottomans. In 1878, Bulgaria became, in part, independent, although the Ottomans controlled its foreign policy.