East Timor's President Jose Ramos-Horta has been discharged from hospital in Australia five weeks after being wounded in an assassination attempt.
Mr Ramos-Horta made a public address from hospital last week
Mr Jose Ramos-Horta sustained bullet wounds to the back and chest in the pre-dawn attack on his house in the East Timorese capital, Dili.
Leaving hospital in Darwin, the president thanked staff for their care and said he had been well looked after.
It remains unclear when he will return to East Timor.
Mr Ramos-Horta was flown to northern Australia hours after the shooting on 11 February to undergo emergency surgery. Since then he has been making a slow but steady recovery.
The rebels - a group of former soldiers - attacked Prime Minister Xanana Gusmao on the same day but he escaped uninjured.
Rebel leader Alfredo Reinado and another rebel died in the attack on the president.
International and East Timorese troops are now working to round up the remaining rebels.