 During Akbar's rule, the name of the city changed from "Begram" to "Peshawar".In 1586, Pashtuns rose against Mughal rule during the Roshani Revolt under the leadership of Bayazid Pir Roshan, founder of the egalitarian Roshani movement, who assembled Pashtun armies in an attempted rebellion against the Mughals.The Roshani followers laid siege to the city until 1587.