Both the seats -- one reserved for teachers and the other for graduates -- were won by Akhilesh Yadav’s Samajwadi Party candidates.