Rahmat Shah struck 113 while Hashmatullah Shahidi and Mohammad Shahzad scored half-centuries as Afghanistan defeated Scotland by two runs in a rain-hit ODI on Friday.
Scotland scored 325 for seven from their 50 overs with Calum MacLeod hitting his eighth ODI hundred and captain Kyle Coetzer supporting him with 79 off 98 balls.
Afghanistan reached 269 for three with 31 balls remaining when rain interrupted play and they were eventually declared the winners on the DLS method.
Hashmatullah Shahidi finished with an unbeaten 59 while opener Mohammad Shahzad hit 55.
The first match was called off without a ball being bowled because of rain.
Afghanistan are one of just 10 teams taking part in the World Cup which kicks off in England and Wales on May 30.