Mopping-up operations took several years, but organized resistance ended when the Khalifa, who had escaped to Kurdufan, died fighting in battle at Umm Diwaykarat, November 1899. Many areas welcomed the downfall of his regime.