He fought the Battle of Shubra Khit against the Mamluks, Egypt's ruling military caste