Dhruv had run into Devrishi Narad on his way to please Lord Narayan, who then gave him a mantra upon testing his determination.