Sir Chris Hoy came from behind to snatch victory at the National Track Championships in Manchester.
The Scot, 35, looked out of the running with half a lap of the Keirin to go, but found something extra over the closing stages and finished half a wheel ahead of Dave Daniell.
"They made me work hard, with a lap to go I was fourth or fifth," Hoy said.
"To beat these guys and to start the season the way I hope to continue, it's a great feeling."
Hoy, who won three gold medals at the Olympics in Beijing three years ago, added: "I've really kept my head down and put the work in, I just want to feel coming into the Olympics there is nothing I would change.
"Last week I hit a personal best in the gym, [better than] before Beijing or Athens. I'm stronger than ever.
"Lifting weights isn't riding a bike, though, it's part of the overall picture."
British Cycling's performance director, Dave Brailsford, said: "He's in great shape, he really has got himself in good nick.
"That's the best I've seen Chris for a long time."
Young duo Becky James and Jess Varnish fought it out in the final of the women's sprint, with James taking first in the absence of Victoria Pendleton, who will only ride the team sprint event at this week's championships.
Lizzie Armistead took the honours in the women`s point race, while Aileen McGlynn and Helen Scott took gold in the paracycling pursuit.