Chris Gayle failed with the bat but took a pivotal wicket in his disciplined bowling spell to help West Indies beat Afghanistan by 23 runs in his final Cricket World Cup match.
Afghanistan were on track to chase down a target of 312 when the 39-year-old Gayle, with his occasional off-spin, trapped 18-year-old batsman Ikram Ali Khil leg-before-wicket for 86.
It sparked a mini-collapse for Afghanistan, who were eventually dismissed for 288 on the last ball of the match, their highest total at a World Cup but still not enough to avoid returning home with a sweep of nine losses.
Gayle - making his record-tying 295th ODI appearance for the Windies and last in World Cups - had bowling figures of 1-28 off his six overs to make up for only getting 7 off 18 balls with the bat.
The Windies, who were also already eliminated, won the toss and made 311-6, with Evin Lewis (58), Shai Hope (77), Nicholas Pooran (58) and Jason Holder (45) all making vital contributions.