yadav first was elected to the 16th lok sabha from the kannauj constituency in the year 2000. on 10 march 2012, he was appointed as the leader of samajwadi party in uttar pradesh. he became the youngest chief minister of uttar pradesh in 15 march 2012.