Gold in the men's individual time trial gave Fabian Cancellara the "perfect" end to his career.
Four-time world champion Cancellara is set to retire at the end of 2016, bringing down the curtain on his decorated time in cycling.
The Swiss 35-year-old, who claimed gold in the time trial at Beijing 2008 but crashed out in London, ensured he would bow out on a high by topping the podium in Rio.
"This was the last time for me to try to win an Olympic medal. It means so much to me," said Cancellara.
"After missing out on gold in London, and all the ups and downs I've had since then, this is just amazing to win the gold today.
"Against this field, and on such a hard course, we had doubts, but good doubts. There are just no words.
"To leave the sport at the end of this season with the gold medal is just a perfect way to end my career. It was a big scream on the podium. This was the last big time trial of my life."
Tom Dumoulin took silver while Tour de France champion Chris Froome came through third for bronze - replicating the feat he achieved in London four years ago.
Froome praised the "unbeatable" Cancellara and was proud to have secured a place on the podium again.
"I'm chuffed to win another Olympic medal. I can't be disappointed, especially after the season I've had," said Froome.
"I gave it everything I had out there today, but Fabian was unbeatable. After winning the Tour this summer, to be back on the Olympic podium is just amazing."