The British had ceded some power in Egypt with the Anglo-Egyptian Treaty of 1922 and more in the Anglo-Egyptian Treaty of 1936.
In the period before the Second World War (1939-1945) the British wanted to reduce growth of Egyptian influence in Sudan, which had become more likely as a result of the 1936 treaty, while also suppressing the ultra-nationalist neo-Mahdist movement.