[1][2][3] Rayareddy is from the Indian National Congress and represents Yelburga constituency of Koppal district, Karnataka.
Rayareddy was first elected to the Karnataka Legislative Assembly in 1985 on a Janata Dal ticket winning against Subhaschandra Baswalingangouda Patil of the Indian National Congress by about 5000 votes.
In the 1989 Karnataka Legislative Assembly election Rayareddy stood on a Janata Dal ticket and again won against Subhaschandra Baswalingangouda Patil of the Indian National Congress by about 2000 votes.
Rayareddy contested the next 12th Lok Sabha and 13th Lok Sabha general election on a Janata Dal and a Janata Dal (United) ticket and lost both times to H. G. Ramulu of the Indian National Congress.
Rayareddy fought the 2008 Karnataka Legislative Assembly election on an Indian National Congress ticket and lost to Eshanna Gulagannavar of the Bharatiya Janata Party (BJP) by about 29,000 votes.