Egyptian Urabist officers joined the Mahdi out of resentment against the khedive