In the 2007 Uttar Pradesh Assembly election, contesting as a Bahujan Samaj Party candidate, he won Jhusi. After delimitation he contested the new Phulpur seat in 2012 but lost. He joined the BJP in 2016 and won Phulpur in 2017, retaining it in 2022 by 2,732 votes.
In 2024 the BJP fielded him from the Phulpur Lok Sabha seat. He won a close contest with 4,52,600 votes, defeating SP candidate Amarnath Singh Maurya by 4,332 votes.