New Zealand beat Sri Lanka in a last-ball Test thriller in Christchurch, with Kane Williamson scoring a memorable century to seal the Black Caps’ second last-gasp victory in as many Tests.

With the scores tied and one ball to go on the final day of play, Williamson and Neil Wagner scampered through for a bye as the light faded – a direct hit to the non-striker stumps ensuring some last-minute drama. Asitha Fernando bowled a short ball which sailed over Williamson’s head, Wagner having already taken off for a single from the other end.

As the keeper’s throw to the stumps missed and Wagner dived full length to make his ground, Fernando picked up the ball and shied at the other set stumps. His throw hit half way up middle-stump with Williamson sprawled on the ground attempting to slide his bat in. The replay showed Williamson had made his ground by a third of his bat length.

The dramatic finish and Williamson’s performance sparked plenty of reaction online.

Wagner’s performance was also praised online. At 37 and reportedly struggling with injury in the latter stages of the Test, he gave his all on the final delivery to secure the single. It was also his birthday.

Aside from the dramatic finish, the result also means Sri Lanka are now mathematically incapable of qualifying for the World Test Championship final. India have now been confirmed to join Australia for the match at The Oval in June.