Wazir Khan met the Sikhs just outside Anandpur on the banks of the River Sutlej at Nirmohgarh. The Mughals attacked the Guru from one side and the Hill Rajas attacked them from the other side. The fight continued fiercely for the whole day and at night until eventually the combined forces of the Mughals and Hill Rajas were exhausted and were compelled to retreat.