The Mughal viceroy of Delhi sent his generals Din Beg and Painda Khan, each with an army of five thousand men, to subdue the Guru.[2] The Mughal forces were joined by the armies of the hill chiefs at Rupar. The Guru appointed the Panj Piare, his five beloved Sikhs, as the generals of his army.