Muktar Edris of Ethiopia, left, wins the 5,000m ahead of Mo Farah, right, Paul Chelimo of the USA and Yomif Kejelcha of Ethiopia. He also won the 5,000m at the 2011 worlds, giving him 10 global golds in all.
Four-time Olympic champion Mo Farah is looking to claim gold in Saturday night's men's 5,000m final at the World Athletics Championships ahead of his retirement later this month.
But he was defeated after failing to mount a recovery in the last 200m in a frantic sprint finish.
He finished second in Thursday's 5,000m heat in 13 minutes 30.18 seconds, behind Ethiopia's Yomif Kejelcha.
An emotional Farah collapsed on the track after the race and appeared nearly inconsolable as he held his arms over his face. "I will train hard and I will break the national record", Lakshmanan said after the race. "I did it for the fans, they really wanted me to do one more season".
"It's unbelievable to serve my country and win medals for them".
He will end his track career at the Diamond League final in Zurich on August 24 after racing at the Diamond League meet in Birmingham next Sunday. He ran 13:35.43. Justyn Knight, who impressively made the final competing on his first outdoor senior national team for Canada, finished ninth in 13:39.15 as both Canadians finished in the top-10.