He was greeted by supporters outside the prison where he has been held on corruption charges.