During the 1580s, many Yusufzais and Mandanrs rebelled against the Mughals and joined the Roshani movement of Pir Roshan. In late 1585, Mughal Emperor Akbar sent military forces under Zain Khan Koka and Birbal to crush the rebellion. In February 1586, about 8,000 Mughal soldiers, including Birbal, were killed near the Karakar Pass between Swat and Buner by the Yusufzai lashkar led by Kalu Khan. This was the greatest disaster faced by the Mughal Army during Akbar's reign.