Southern India's powerful politician Jayaram Jayalalitha has been released on bail after being convicted and sentenced to four years for corruption.

The 65-year-old former film star walked out of a prison in Bangalore on Saturday after spending 22 days behind bars. Jayalalitha was forced to step down as the highest elected official in the southern state of Tamil Nadu, after a court in Bangalore last month found her guilty of possessing wealth disproportionate to her income.

The Supreme Court allowed her release Friday after she argued she needed medical attention for diabetes and high blood pressure. It threatened to cancel her bail unless she provided all documents related to the corruption case by Dec. 18.

She has asked a lower court to suspend her sentence while she appeals her conviction.