 He elected for the 12th,14th,15th, and 17th Lok Sabha.He quit Congress soon after the bill to split Andhra Pradesh was passed by the Lok Sabha and later joined Telugu Desam Party.He lost parliament elections in 2014 and in 2019 he joined YSR Congress Party and contested as the Ongole Parliament candidate from YSRCP.