Islamic Mahdist revolutionaries overran the region in 1885 , but in 1898 a British force was able to overthrow the Mahdist regime .