Notts Outlaws-bound Ish Sodhi denied England a first Test victory in 13 attempts as New Zealand held on for a draw in the second Test at Christchurch to win the series 1-0.
The leg-spinner, who will return to Trent Bridge this summer for the Vitality Blast after winning the competition here last summer, scored 56 not out as the Kiwis hung on at 256-8 with the tourists two wickets shy of victory.
The hosts began the day on 42-0 needing 382 for victory or, more likely, to avoid losing 10 wickets to stave off defeat.
England sniffed victory at various points throughout the day, especially when they had New Zealand 91-4 as Stuart Broad (2-72) claimed the wickets of Jeet Raval and Kane Williamson for a first ball duck from the first two balls of the day.
Debutant spinner Jack Leach also got in on the act as he dismissed Ross Taylor, who will soon arrive in England to link up with Nottinghamshire, for 13, while Jimmy Anderson removed first Test centurion Henry Nicholls.
But a patient 83 from 207 balls held up England and after BJ Watling fell to Mark Wood for 19, he found a capable ally in Colin de Grandhomme (45).
Latham was eventually caught by James Vince off Leach for 83, but Sodhi then joined forces with de Grandhomme to score a superb 56 not out from 168 balls, with nine fours.
It meant that even though Wood removed de Grandhomme and Joe Root dismissed Neil Wagner (7) at the death, England could not do quite enough to force a positive result.
*************
You can watch every ball of Notts' scheduled home matches in 2018 - in all three formats of the game including Vitality Blast - by joining our family as a Member. Adult prices start from £38 and you can become a Member by clicking here.