The American was quicker out of the blocks and pulled clear to claim the first 100m win of his career over the Jamaican world record holder.

Bolt never looked like catching his rival as he crossed the line in second in 9.97secs.

Bolt's last defeat also came in Stockholm two years ago to fellow countryman Asafa Powell, who was forced to pull out of yesterday's Samsung Diamond League meeting with back and hamstring problems.

"You can get beaten, you have good days and bad days -- it was just one of those days for me," Bolt (pictured right) said. "I need to work on my shape. I got a good start, but there was no power there."

Gay's time was a meeting record and 0.02 behind the world's leading team this year, held jointly by Bolt and Powell and he admitted he felt Bolt was not fully fit.

"It feels good," Gay said. "Deep down inside I felt he (Bolt) wasn't 100pc. I'm still waiting for the day when we are both 100pc and Asafa is also on the line."