Additionally, Baring's policy of raising taxes to pay off the debts Isma'il had run up sparked much resentment in both Egypt and the Sudan. In 1882, nationalist rage in Egypt against Baring's economic policies led to the revolt by Colonel Urabi Pasha, which was put down by Anglo-Egyptian troops. From September 1882 onwards, Egypt was a "de facto" British protectorate effectively ruled by Baring, through in theory Egypt remained an Ottoman province with a very wide degree of autonomy until 1914. With Egypt under British rule, the British also inherited the problems of Egypt's colony, the Sudan, which the Egyptians were losing control of to the Mahdi.