He adopted atheism after a few incidents, such as when he was prevented from entering the temple while a noble woman was praying.
He first met Dayanand Saraswati when Dayanand visited Bareilly to give lectures.