He won Atrauli, the seat long associated with his grandfather Kalyan Singh, in 2017 at 25, and became one of the youngest ministers in the first Yogi Adityanath government, as Minister of State for basic, secondary, higher, technical and medical education. Between 2020 and 2022 he was Minister of State for finance, technical and medical education.
Re-elected in 2022, he was made Minister of State (Independent Charge) for Basic Education, responsible for the state's primary and upper-primary schools.