An Afghan named Sher Shah Suri took control of the state after defeating Humanyun.