Answer
Muhammad Ahmad, the leader of the Mahdist movement, was the primary adversary of Yohannes IV during the Mahdist War. This conflict, which lasted from 1881 to 1899, was fought between the Ethiopian Empire under Yohannes IV and the Mahdist forces of Sudan led by Muhammad Ahmad, who claimed to be the Mahdi, the Islamic messiah.