Ireland 260 for 6 (Balbirnie 145*, Dockrell 54, Dawlat 2-52) beat Afghanistan 256 for 8 (Najibullah 104*, Asghar 75, Rankin 2-56) by four wickets
Dehradun: A superb unbeaten 145 from Andrew Balbirnie helped Ireland to a four-wicket win over Afghanistan in the third ODI in Dehradun.
Balbirnie hit eight sixes - an Ireland record - in his highest ODI score as they chased 257 with an over to spare in Dehradun to level the series at 1-1.
He added 143 with George Dockrell, who made 54 after Ireland slipped to 29-3 and 73-4.
Najibullah Zadran made an unbeaten 104 in Afghanistan's 256-8.
Zadran's century, along with 75 from captain Asghar Afghan - they shared a sixth-wicket stand of 117 - rescued Afghanistan from 74-5 after they won the toss.
Boyd Rankin took 2-56 and Tim Murtagh 2-60 for Ireland.
Balbirnie entered the fray at 13-1 and another two wickets quickly fell before a brisk 21 from Kevin O'Brien.
The brilliant partnership with Dockrell proved decisive as Ireland finally registered a win over the Afghans at the sixth attempt.
The fourth ODI takes place at the same venue on Friday, before the series finale on Sunday.
Afghanistan won the Twenty20 series 3-0.