The court in Alampur granted bail to the two legislators besides TJAC leaders Kodandaram and Srinivas Goud.
TRS Floor leader in the Andhra Pradesh Assembly Etala Rajender, party MLA Jupalli Krishna Rao, TJAC chairman M Kodandaram and others were arrested on March 21 for allegedly instigating protesters to attack some private vehicles and state transport buses at different places during the stir.
Earlier, tension prevailed in front of Mahbubnagar district jail as scores of TRS supporters assembled there and raised slogans.
Before the court orders, TRS president K Chandrasekhar Rao, MLA Harish Rao and others met the leaders in the jail.