The Battle of Gujrat (1797) was fought between the forces of the Durrani Empire led by Ahmad Khan Shahanchibashi and the Sikh forces led by various Sardars. After Zaman Shah's third failed invasion of Punjab, he left Shahanchibashi as governor of the Rohtas Fort and the region between the Jehlum and Indus rivers. Known for his oppressive rule and ambition to conquer Gujrat, Shahanchibashi faced a holy war organized by Ram Singh Bedi. After recruiting Sikhs for the war, the Sikh and Durrani forces clashed in Gujrat, where the Sikhs emerged victorious and plundered the defeated Afghans.