He was elected to the 12th (1998) and 14th (2004) Lok Sabha from Gonda as a Samajwadi Party candidate.
In March 2014 he left the SP and joined the BJP, winning Gonda in 2014 and 2019. In 2024 he won a fifth term with 4,74,258 votes, defeating SP candidate Shreya Verma by 46,224 votes.
He was sworn in as a Union Minister of State on 9 June 2024 and took charge of External Affairs and of Environment, Forest and Climate Change on 11 June 2024.
In 1988 he helped set up a Ford Foundation-supported pilot project on cage culture of fish for local fishermen. In 2018 he won a case before the National Green Tribunal against illegal sand mining in his constituency. He has set up girls' and degree colleges in Gonda, and founded the Avadh Aero Sports Society with a registered airstrip.