Rio de Janeiro - With a kiss of the ball and an unforgettable kick, Brazil's biggest soccer star gave the Olympic host nation its biggest moment of the games.
Brazil won its first Olympic gold medal in soccer on Saturday with a dramatic penalty kick by Neymar to defeat Germany, sending the nation into a frenzy.
Before the decisive shot, Neymar picked up the ball and kissed it before placing it on the penalty spot. He calmly sent the shot into the top corner and fell to his knees before being mobbed by his teammates.
"That's it," Neymar said. "We made history."
It was a victory that was about more than soccer for a nation that desperately needed something to celebrate.
The country had been battered by recession, political scandal, health scares over polluted water and the Zika virus and questions over whether it could pull off hosting the Olympics.
But all the troubles were forgotten when Neymar's kick sailed into the net.
As the team stood atop the medal podium, gold draped around their necks, tears streamed down the faces of fans as all of Maracana Stadium joined in belting out the national anthem.
The victory comes two years after an embarrassing 7-1 home loss to Germany's senior team in the World Cup semi-finals two years ago. Brazil was also coming off a demoralising elimination in the group stage of this year's Copa America and struggled in early group play in the Olympics.
Germany, playing with a young team that looked nothing like the World Cup-winning squad, made it hard for Brazil, hitting crossbar three times in the first half.
Neymar put Brazil ahead 1-0 with a superb free kick in the 26th minute and the Germans tied it with a goal in the 59th minute by captain Maximilian Meyer.
Neymar converted the decisive penalty in the shootout after Brazilian goalkeeper Weverton stopped Nils Petersen's shot from the spot.
The men's soccer tournament attracted most of the attention of Brazilian fans at the Olympics. The Brazilian football federation took the Olympic tournament as seriously as ever, bringing Neymar and many talented youngsters that are expected to be in the main squad in the 2018 World Cup in Russia.
Brazil had lost three Olympic finals, including four years ago in London, when it was upset by Mexico 2-1 with a team that also included Neymar and other talented players. Brazil won the bronze two times.
Neymar, who skipped the Copa America to try to give the hosts the Olympic gold, avoided joining a long list stars who failed to win the gold for Brazil.
"I don't have words to say anything," Neymar said later, sobbing. "I can't describe my feelings right now. I just want to thank my teammates, my friends and my family, who have been by my side during the most difficult moments. It wasn't easy. I don't know what else to say, I'm just really happy."
Brazil arrived as the main title-favorite but struggled in the beginning, being held to scoreless draws against South Africa and Iraq and becoming in danger of failing to advance past the group stage.
Germany had its chances but couldn't capitalize on them. Julian Brandt's right-footed shot from outside the area struck the crossbar, a deflected cross into the area bounced off the woodwork, and a header exploded off the crossbar again. Weverton was also forced to make a difficult stop in a close range shot off a corner kick.
"This restores our self-esteem," Brazil coach Rogerio Micale said. "We see that not all was lost, our football is still alive. There are some things that need to be fixed, but today we were able to make our people happy."
The entire nation came to a standstill as people gathered to watch the game, erupting in cheers as Neymar clinched the gold.
"Now the respect is back," said fan Guilherme Junior. "Now we can aim high again."