 on 20 December 1850 to Rameshwar Agnihotri and Mohan Kunwar.He had his basic education at Sri Akbarpur and for further education enrolled in the Thompson Engineering College at Roorkee (Now IITRoorkee) in 1866.On 9 July 1871, he accepted Pandit Shiv Dayal singh as his personal guru.