The tremor struck at a depth of 11 kilometres near the district headquarters, with no immediate reports of damage or casualties.
Troops from both nations begin a fortnight of high-altitude tactical drills and drone operations at Chaubatia.
The senior leader is set to succeed Naresh Bansal, whose parliamentary term expires in November.
A massive state-wide cleanup has removed duplicate, deceased, and relocated voters ahead of upcoming elections.