Mahatma Gandhi was released from prison after two years into his six-year sentence.

Source