Battle of Mayar


Battle of Mayar was fought between the Mujahideen led by Syed Ahmad Barelvi and the Barakzai forces led by Sardar Sultan Mohammad Khan, the Sikh-appointed governor of Peshawar, at Mayar in October 1830. The battle was a major victory for Mujahideen and resulted in the capture of Peshawar by Ahmed Barelvi.

Background

Syed Ahmed Barelvi was a Muslim reformer from Rai Bareli who had declared jihad against the Sikh Empire in 1826, and made Peshawar Valley as the centre of his movement. From start he had to face the opposition of both the Sikh armies and the local Pashtun tribesmen, who disliked the introduction of taxation and Barelvi's prohibition of certain Pashtun traditions considered un-Islamic by him. The most notable opponent of Barelvi's movement was Sultan Mohammad Khan, who had been tributary of Ranjit Singh since 1823. His betrayal to Ahmed Barelvi at the Battle of Shaidu cost the Mujahideen 6,000 lives. In October 1830 Ahmed Barelvi decided to march against him to take over control of Peshawar.

Battle and aftermath

Syed Ahmed Barelvi left his cannons at Amb and marched with 3,000 followers to Mayar, where he faced a much larger Barakzai force consisting of 12,000 men and 6 cannons. The battle started early in the morning and lasted for several hours. After a severe fight Sultan Mohammed Khan fled, leaving behind 80 dead. The Mujahideen casualties at the battlefield were 28, with an additional 10 being killed in other places.
Following the battle, Ahmed Barelvi gathered 7,000 of his Hindustani Mujahideen and local tribesmen and moved to Peshawar. After a long series of negotiations Sultan Mohammed Khan agreed to surrender control of the city to Barelvi. In return Barelvi maintained him as the governor on the condition of paying tribute, despite the protests by his close companions who considered Sultan Mohammad Khan as unreliable. Barelvi stayed at Peshawar for three weeks and after finalising affairs returned to Charsadda in November, leaving behind Maulvi Mazhar Ali Khan as his deputy. Now Barelvi was in the control of whole of Peshawar Valley as well as parts of Hazara, and took the title of Khalifa.
The Barelvi's decision to keep Sultan Mohammed Khan on his position proved to be a grave mistake as in November he planned a conspiracy against Barelvi's agents in Peshawar and elsewhere, resulting in the massacre and assassinations of hundreds of his followers. This incident caused Barelvi to lose hopes of establishing a foothold in Peshawar and he moved with the remaining Mujahideen to Balakot, where he was killed fighting against the Sikh forces in May next year.