Boxing legend Muhammad Ali has been released from hospital after being treated for a urinary tract infection.

Ali, 72, was admitted to hospital more than two weeks ago with what was then thought to be pneumonia.

But doctors ultimately determined he had a severe urinary tract infection, and he was released on Tuesday night, the Courier-Journal newspaper reported, quoting Ali spokesman Bob Gunnell.

"The boxing legend has fully recovered and is now at his home. Ali looks forward to celebrating his upcoming 73rd birthday on January 17th with his family and friends," Gunnell said in a statement.

"The Ali family greatly appreciates the outpouring of support and continued well wishes. They also want to thank the team of doctors and nurses for their exceptional care."

A three-time world heavyweight champion, Ali was diagnosed with Parkinson's about three years after he retired from boxing in 1981.

In September last year, he made a rare public appearance to attend a ceremony in his hometown of Louisville, Kentucky, for the Muhammad Ali Humanitarian Awards.

Source: Agencies