 In 2002, he was elected to the Legislative Assembly of Uttar Pradesh from the Mohammadabad constituency in Ghazipur.There he was a member of the Bharatiya Janata Party.In 2017, his wife, Alka Rai won the assembly seat from Mohammadabad.