In December 1886, Malaviya attended the 2nd Indian National Congress session in Calcutta under chairmanship of Dadabhai Naoroji, where he spoke on the issue of representation in Councils. His address not only impressed Dadabhai but also Raja Rampal Singh, ruler of Kalakankar estate near Allahabad, who started a Hindi weekly Hindustan but was looking for a suitable Editor to turn it into a daily. Thus in July 1887, he left his school job and joined as the Editor of the nationalist weekly, he remained here for two and a half years, and left for Allahabad to join L.L.B., it was here that he was offered co-editorship of The Indian Opinion, an English daily. After finishing his law degree, he started practising law at Allahabad District Court in 1891, and moved to Allahabad High Court by December 1893.