Ali's troops made headway into Sudan in 1821 but were met with fierce resistance by the Shaigiya. Ultimately, the superiority of the Egyptian troops and firearms ensured the defeat of the Shaigiya and the subsequent conquest of Sudan.