Last updated on .From the section Olympics

Phelps took silver in a three-way tie for second in the 100m butterfly

American swimming legend Michael Phelps says he does not intend to compete in another Olympics once Rio 2016 is over.

The 31-year-old, who has won 22 Olympic gold medals, quit after London 2012 only to reverse that decision in 2014.

"I'm not going four more years and I'm standing by that," he insisted after finishing in a three-way tie for silver in the 100m butterfly final.

"I've been able to do everything I've ever put my mind to in the sport. I'm happy with how things finished."

He added: "No more. This is it. I said it a bunch before. But I'm not doing it.

"I swore in London I wasn't coming back and this is final. Were the papers here, I'd sign them tomorrow."

However, team-mate Ryan Lochte thinks Phelps will be in Tokyo in 2020.

"I guarantee he will be there,'' Lochte told NBC. "I think so. I really think so. So Michael, I'll see you in Tokyo."

Phelps can add to his Olympic tally in the 4x100m medley relay at 03:04 BST on Sunday.

"I'm happy," added Phelps, who said he wanted to spend more time with newborn son Boomer and fiancee Nicole.

Phelps made his Olympic bow in 2000, winning his first gold in Athens in 2004. He has 27 Olympic medals in total, nine more than his closest rival.