Mo Farah last night signed off on his last major competition at the World Athletics Championships in London with a silver rather than the gold he coveted.
Britain's men won a stunning 4x100m relay gold as the women took silver. Farah had romped to victory in the longer event on the opening night of the championships last weekend.
"I gave it all but I had nothing left at the end", a crestfallen and emotional Farah said.
Edris finished in 13mins 32.79secs, with the United States' Paul Chelimo third.
He is set to focus on marathons after his final track appearance at the 5,000m Diamond League final in Zurich on 24 August. Even so, with 10 golds and two silvers at global competitions, he must be regarded as Britain's most prolific athlete.
Edris then moved to the front and Seleman Barage had a go but Farah, as he does, was constantly lurking.
However in the final 1,000m Farah started to struggle as the 23-year-old Edris and compatriot Yomif Kejelcha really upped the pace.
Farah was under enormous pressure on the back straight as the Ethiopian duo tried to hold him off, with Chelimo also coming through in the final straight.
Having won gold in the 10,000m Farah was the favourite to take the 5,000m gold as well.
As the Briton was consoled - and congratulated on a peerless track career - by his competitors following his world 5,000 metres silver in the stadium where his legend was first properly sculpted in 2012, the only question that remained was where he stands in the annals of track distance running. As the Ethiopian crossed the line he performed Farah's trademark Mobot celebration. That was despite what the BBC commentary from Brendan Foster and Steve Cram would have led you to believe for much of the race. It has to come to an end.
Muktar Edris tries to help up Mo Farah.
Sir Mo Farah missed out on his dream double after coming second in the 5000 metres at the World Championships.
Two-time Olympic decathlon champion Daley Thompson: "He has got to be hurting".
"For me, it's not Mo Farah - and that's not to do a disservice to Mo, who is one of the greats of all time. I did the Mobot out of respect as well for him".
The Briton also recently denied any wrongdoing after computer hackers revealed some of his blood samples had initially been flagged as suspicious, before later being declared normal.
Thankfully Farah has delivered, albeit not with the double-gold everyone hoped, but where would we be without him?
"Back in 2008 at the Olympics I was so disappointed [at not making the 5,000m final] and I didn't know what to do with myself, whether to carry on with the sport", said Farah.