West Indies won the battle of the Cricket World Cup's basement dwellers, beating Afghanistan by 23 runs in their final group match at Headingley on Thursday.
Chris Gayle managed only seven runs in his final World Cup appearance but Shai Hope capitalised on an early reprieve to score 77 and help the eliminated Caribbean side to 311-6 after electing to bat.
While Gayle disappointed, 18-year-old Ikram Alikhil top-scored for Afghanistan with a career-best 86 before falling to the 39-year-old part-time spinner from Jamaica.
Afghanistan were all out for 288 in exactly 50 overs - their highest score in the World Cup - to finish their campaign with nine straight defeats, denying their West Indian coach Phil Simmons a winning send-off.
The match against the tournament's weakest side was an opportunity for Gayle to produce a special performance and to break Brian Lara's West Indies record for ODI runs.
But the prolific left-handed opener failed to take it, slashing at a wide Dawlat Zadran delivery to be caught behind.
He finished his last World Cup with only one half-century, and remains just 10 runs behind Lara's record.
"It's been a privilege and honour to represent West Indies in five World Cups but disappointed to end without making it to the final four," Gayle said after the victory.
"I don't intend to put my body on the risk, I've been struggling. This is the last one, definitely."
West Indies could have been in bigger trouble but Rashid Khan dropped a sitter at mid-wicket off Zadran when Hope was on five.
By the time Rashid caught him, at mid-wicket in the 38th over, Hope had laid a strong foundation for a 300-plus total.
Opener Evin Lewis celebrated his return to the team with 58 and Nicholas Pooran also made 58, his third 50-plus score of the tournament.
Skipper Jason Holder clobbered four sixes in his 45 off 34 balls to help the team past the 300-mark.
Dropped catches, squandered run-out opportunity and misfields marred Afghanistan's fielding, best illustrated in the final over of the West Indies innings.
Afghan captain Gulbadin Naib got himself under a skier at long-off but flinched at the last moment, possibly losing the ball in sunlight, allowing what would have been a regulation catch to go for a boundary, according to Reuters news agency.
Naib could not impress with the bat either and fell for eight.
Shah and Alikhil refused to throw in the towel, though, frustrating the West Indies attack with a 133-run partnership.
Carlos Brathwaite (4-63) dismissed Shah as he and Kemar Roach (3-37) snuffed out Afghan hopes of an unlikely victory.
"Big stage, in the end, it was tough to chase 300-plus but I'm happy with the batting performance," Naib said afterwards.
"Alikhil is a youngster, he showed his class today. We have many such talented youngsters back home."
"Fitness is a big issue, the boys are struggling. Also pressure, we need to control our nerves. We can work even more on our skills to prove ourselves."
© 2017 - All Rights with The Financial Express