He was first elected MLA as a Janata Dal candidate in 1989 and served as a minister in Mulayam Singh Yadav's first government (1989–1991). He was later among the founding MLAs of the Samajwadi Party.
A three-time member of the Uttar Pradesh legislature, including the Legislative Council, he served on the state Backward Classes Commission. He was deputy state president of the SP when Akhilesh Yadav headed the state unit and later became the party's Uttar Pradesh state president, the senior-most organisational post in the state unit.
In 2024 the SP fielded him from Fatehpur against Union Minister of State Niranjan Jyoti. He polled 5,00,328 votes and won by 33,199 votes. In the Lok Sabha he has spoken on agriculture, railways, excise and the rural employment bill.