Ireland defeated Afghanistan by five wickets to draw on the oneday international show in India 2-2.
Paul Stirling struck 70 runs and Andrew Balbirnie scored 68 to lead Ireland to victory with 16 balls staying after the Afghans ended on 216-6.
Afghanistan captain Asghar Afghan has been the top run-scorer with 82 before retiring wounded, while Ireland’s George Dockrell returned 2-46.
The two sides meet again in a Test match in India which starts on Friday.
Afghanistan had led the five-game series 2 1 entering Sunday’s final game after the second meeting was abandoned as a result of rainfall.
The Afghans beat Ireland 3-0 in the T20 series which occurred before the ODIs started on 28 February.
Ireland were unchanged by the side which lost heavily in Friday’s fourth game and also ruler William Porterfield chose to bowl again after winning the toss.
Captain Afghan was in fine form with the bat, hitting his third successive half century before having to withdraw on 82, while an extended cameo out of Khan helped Afghanistan to 216-6.
Stirling’s impressive 70 in response for Ireland took him beyond 3,500 ODI runs, whilst Balbirnie notched 68 to lead Ireland to achievement.
Balbirnie was known as man of this string after scoring 215 runs at an average of all 71.66.