 He won the 2004 general Lok Sabha election on the Samajwadi Party ticket from Ghazipur, Uttar Pradesh.Afzal Ansari was born on 14 August 1953 in Yusufpur-Mohammadabad town in Ghazipur district of Uttar Pradesh.He got his early education from his native place.