Lech Walesa, Poland's former president and Nobel Peace Prize winner, on Wednesday left the hospital where he was being treated for pneumonia.
Mr. Walesa said he still needs another month to fully recuperate.
It was not clear what had caused the infection, which developed after Mr. Walesa returned from a visit to Tunisia earlier this year.
Mr. Walesa won the Nobel prize in 1983 for his non-violent stance against the communist regime.
The Polish shipyard worker led the nation's Solidarity movement, which eventually ended communism in Poland. In 1990 he was elected president, a post he held for one term.