It was the perfect result for the hosts after three Olympic final defeats.

“The only thing on my mind was I had to do this,” said Neymar. “I can’t begin to describe my feelings. I have fulfilled my dream and to have fulfilled it in my home country makes me very proud.”

Nigeria enjoyed a superb 3-2 win over Honduras to secure the bronze medal.