Joe Root scored a magnificent unbeaten century to reach the 10,000 Test runs landmark as England took a 1-0 series lead against New Zealand with a five-wicket victory at Lord's.
England looked destined to start a new era with Ben Stokes as captain and Brendon McCullum as head coach with another defeat when they slumped to 69-4 after being set 277 to win on Saturday.
But Root, playing his first Test since stepping down as skipper, and Ben Foakes sealed England's first win in 10 matches in the longest format with an unbroken stand of 120 under grey skies in the morning session on day four.
Root (115 not out) made a crucial 26th Test hundred - and his first in the final innings of a Test - and the composed Foakes offered great support with an unbeaten 32 to make it a dream start to Stokes and McCullum's reign.
The prolific Root and Foakes were untroubled on the penultimate day after resuming on 216-5, needing another 61 runs to win, as the New Zealand bowlers failed to get anything out of an old ball under the floodlights.
Foakes hit a glorious on-drive for four and Root moved into the 90s by sumptuously punching Kyle Jamieson down the ground to the boundary.
Wicketkeeper-batter Foakes then pulled Tim Southee for four and Root moved to 96 with a more fortunate boundary, almost chopping the ball onto his stumps.
There was a great ovation for Root when he clipped Southee into the leg side and scampered back for two to bring up another hundred and become only the 14th player to score 10,000 Test runs in what was his 118th match.
Root fittingly finished off the job in style, dispatching Southee for three boundaries in an over to give England a first Test win over the Black Caps in eight matches.