 He is the national secretary of Samajwadi Party.He has served Karchana, the vidhan sabha constituency of Allahabad for more than 7 times as a Member of the Legislative Assembly (MLA).He was also elected as a Member of Parliament (Lok Sabha) from Allahabad twice after defeating the popular BJP politician, Dr.Murli Manohar Joshi.