After the death of three-term MLA Ashutosh Tandon in November 2023, the BJP fielded Srivastava in the Lucknow East by-election, held with the 2024 Lok Sabha polls, and he was elected on 4 June 2024. He has inaugurated development works in the constituency.