Dhaka, Oct. 13 -- Bangladesh came within touching distance of victory, only to watch Afghanistan cling on until the final ball and escape with a draw in Abu Dhabi.

As the light faded, Qais Ahmad launched the last delivery for six, sealing a result that left the Tigers exhausted and empty-handed after 142 overs of toil on Tuesday.

Sediqullah Atal had laid the foundation for Afghanistan's resistance with a magnificent 111 off 332 balls, occupying the crease for eight hours and 34 minutes.

The left-hander, normally an attacking batter, showed remarkable restraint to register Afghanistan's first fourth-innings century in Test cricket.

Atal had survived an early chance and continued to frustrate Bangladesh with disciplined defence, punctua...