Ma Zhancang defeated the Uighur and Afghan volunteers sent by king Mohammed Zahir Shah, and exterminated them all. The emir Abdullah Bughra was killed and beheaded, his head put on display at Idgah mosque.[31]