Relief for captain Cook

However, the England captain expressed his disappointment at not making it a double celebration with a hundred as New Zealand fought their way back into the second Investec Test at Headingley.

Cook began his innings needing 32 runs to overtake Gooch's 8,900-run record that has stood since 1995 and the left-hander passed the landmark with a four through point on Saturday afternoon.

He went on to make 75 in an opening wicket stand of 177 with Adam Lyth, who marked his first Test at his home ground and only his second overall with an excellent century.

Yet the Black Caps capitalised with the second new ball under floodlights and cloudy skies to reduce England to 253 for five and a deficit of 97.

Cook pointed out his team still have plenty of work to do to seize a first-innings lead, but was happy to reflect on his latest achievement, which arrived a day after James Anderson became the first Englishman to 400 Test wickets.

"It was a little bit surreal, an amazing moment obviously," he said. "I haven't ever been that nervous in the 20s before, but I was a little bit nervous today.

"I was desperate to go past Goochy but also do it with a bit of a score.

"We got off to a really good start with the bat but losing five wickets for 70 runs was a bit disappointing. This is cricket; it can ebb and flow and certainly when the cloud comes over and the new ball under lights as well, it was tough.

"So there's a lot of hard work to do, but we've got some good players left."

Cook and Lyth laid an excellent platform with England's first century opening stand on home soil since 2011, the year before Andrew Strauss retired.

England have been struggling to settle on a partner for Cook since Strauss walked away from the game with Nick Compton, Joe Root, Michael Carberry, Sam Robson and Jonathan Trott all struggling to impress in the role.

But Lyth took large strides towards cementing his place in the team with 107 in front of several family members.

The 27-year-old from Whitby said: "It's a fantastic moment for myself and my family who've come to support me so I'm very, very pleased that I got a hundred today."

Having scored just 19 runs on his Test bow in the series opener at Lord's, Lyth was keen to make an impression on his home ground.

"I would have liked to have got a few more runs at Lord's but getting a hundred today is very, very special for me," he said.

"Getting a hundred, you know that you can play at this level. Hopefully there's more runs and hundreds to come."

The tourists started and finished the day well, first adding 53 runs in 7.1 overs to their overnight score as their tail-end batsmen punished some wayward bowling from Ben Stokes and Stuart Broad, who claimed curious figures of five for 109.

Trent Boult then took two wickets either side of Tim Southee adding one late in the day to bring New Zealand right back into the contest after the momentum appeared to be shifting in England's direction.

Mark Craig had earlier made the breakthrough with the wicket of Cook, winning an lbw decision on review after the initial appeal was turned down.

The off-spinner, who made an unbeaten 41 with the bat, said: "It was a matter of getting one.

"Once we did that, we knew we could go bang, bang - and we also knew that things tend to happen quite late in the day here as well."

Asked if it was a difficult decision to go for a review, he said: "Not a lot, to be honest.

"I knew it hit him in line. It was just whether it was straightening enough.

"A couple of the boys weren't interested at all, but I was fairly confident - and (captain) Brendon (McCullum), being the way he is, was always keen to have a crack."

  England's Alastair Cook was thrilled to have become his country's leading Test run scorer
England's Alastair Cook was thrilled to have become his country's leading Test run scorer