Mo Farah has finished in second place in the 5,000m final at the World Athletics Championship in London, missing out on one final gold medal in his last appearance at a major championship.

Farah, 34, stormed to victory in the 10,000m final last Saturday but another clean sweep proved to be just out his grasp this time around with Muktar Edris taking the gold.

Farah had been targeting a fifth consecutive world championship double at the same venue where he won Olympic gold in both the 5,000m and 10,000m events at London 2012 - defending those titles in Rio last year.

But the man regarded as Great Britain's greatest ever endurance runner ran out of steam in the final lap when he was swarmed by his rivals. Paul Chelimo of the United States came in third to take the bronze.

Farah finished with a final time of 13 minutes and 33.22 seconds - almost a full second behind Ethiopia's Edris.

The Briton held his nerve at the front of the pack for most of the race but when Edris broke ahead of him on the final straight, he found himself trapped behind the leader and his teammate Yomif Kejelcha, with Chelino also on his shoulder.

When he was finally given the room so sprint clear, Edris' lead was too great even for the great Farah to close in on. While he managed to break clear of Kejecja - who finished fourth - and see off the surge from Chelino, second place was the best he could hope for.

Farah told BBC Sport: "It's a very special night. It's been amazing but it's been a long journey. It didn't quite hit home until I took a few moments to myself where I realised this is it.

"The 10,000m took a lot more out of me than I had realised. They had a game plan and that was that one was going to sacrifice themselves, but I gave it my all. I didn't have a single thing left to give at the end. I got boxed in and couldn't get out.

"I remember in 2008, being so disappointed and not sure whether to carry on with the sport or not. I had to decide what it took to become a champion and that was to move to the other side of the world. Nothing was guaranteed but I took that chance."

Farah will make his final track on the appearance at the 5,000m Diamond League final in Zurich on 24 August before concentrating on marathons.