(CNN) -- American Tyson Gay produced a blistering finish to edge out Asafa Powell and take victory in the 100 meters at the World Athletics final in Thessaloniki.
Tyson Gay edged out Jamaican Asafa Powell in the 100m at the World Athletics final in Thessaloniki.
Gay clocked a time of 9.88 seconds to defeat Powell by two-hundredths of a second -- despite the Jamaican making the better start of the pair.
The two-time world championship bronze medalist was ahead of Gay and seemingly heading for a relaxed victory but the American record holder had a burst speed in the final 30 meters and pushed in front with the final few meters in sight.
Darvis Patton finished third after he crossed the line in 10 seconds flat but it was his compatriot Gay who was most satisfied with his performance.
"I didn't know if I was going to be able to make up the distance when I looked to the finish line and saw the lead Asafa had," Gay told governing body the IAAF's official Web site.
"I tried hard to beat Asafa and I didn't quit the race, even though I was far behind him. My groin was sore but that didn't stop me to chase him and finally beat him. I had great energy inside me.
"But I just gave it everything in the last few meters and thankfully I was able to do it. It feels pretty good to get the victory."
Powell added: "I got surprised. I didn't expect Tyson Gay to come from behind and beat me. I thought I had it at 80m."
In the 3,000m, Ethiopian Kenenisa Bekele was challenged by Bernard Lagat down the final straight but held off his American rival to win by 0.21 seconds in eight minutes and 03.79 seconds.
Bekele immediately revealed he was bringing his season to a close after an exhausting program which has seen him win the world 5,000m and 10,000m gold medals and kept a clean sheet in six demanding Golden League 3,000m and 5,000m races.