DUBAI: Like waves breaking upon a cliff, Sri Lanka's bowlers kept coming at Pakistan, until eventually, the hosts cracked and splintered.
So tantalisingly had the match been poised overnight, perhaps the ending was even a little anticlimactic.
Sri Lanka's margin of victory was 68 runs - a comfortable win by most standards.
Though Sarfraz Ahmed and Asad Shafiq had begun confidently, the visitors needed only 5.5 overs to break that partnership, and about 90 minutes in all to wipe out the lower half of the Pakistan innings. The series had been swept, completely unexpectedly, 2-0.
Dilruwan Perera was Sri Lanka's primary bowling figure on day five, as he had been throughout the innings, claiming two further wickets to complete a fourth career five-wicket haul. He also took that vital wicket of Sarfraz to break the mighty resistance Pakistan's sixth-wicket partnership had mounted.
Rangana Herath, who had had an uncharacteristically quiet fourth-innings until then, took two wickets of his own, and Suranga Lakmal had Shafiq caught at slip. After the battering Sri Lanka had received at home, at India's hands, this series victory must surely rank among the most surprising results of their Test history. On the Sri Lankan balcony, support staff were ecstatic, while on the field Dinesh Chandimal led elated celebrations. The joy was justified: not counting the win in a one-off Test against Zimbabwe, this was Sri Lanka's first Test series victory in almost a year.
Pakistan, meanwhile, have had a disappointing start to life post Misbah-ul-Haq and Younis Khan. Sarfraz and Shafiq needed to see out seven overs before the second new ball became available, but Sarfraz's wicket exposed the tail prematurely.
The previous four sessions of this match were practically dripping with drama, and day five also began with a little excitement. Shafiq glanced the second ball of the day to the fine leg fence to move into the 90s, before Sarfraz cracked a four behind point next over. Then, Sri Lanka had three near misses. Kaushal Silva swooped on the ball from point, but could not effect the direct hit that might have seen a diving Shafiq run-out for 95.
A few balls later, Sarfraz had dragged his back foot out of the crease while attempting a sweep, but wicketkeeper Niroshan Dickwella could not quite get the bails off in time. Finally, after Shafiq had completed a century off the 151st delivery he faced, Dimuth Karunaratne dropped him at slip off the bowling of Dilruwan. Hands began to go to Sri Lankan heads. Sarfraz and Shafiq had progressed so faultlessly on day four, that it seemed unlikely many more chances would come.