DUNEDIN  - A double century stand by Alastair Cook and Nick Compton pulled England off the ropes and into a relatively safe position in the first Test against New Zealand on Saturday.Batting on a placid University Oval wicket in Dunedin, the pair put on 231 for the first wicket before Cook was out for 116 while Compton posted his maiden Test century to be not out 102. At stumps, England were 234 for one, 59 runs short of making New Zealand bat again with only one day remaining in the rain-interrupted Test.After facing 252 deliveries in more than five-and-a-half hours, Cook was dismissed 14 balls before stumps when he edged Trent Boult to wicketkeeper BJ Watling. New Zealand had declared their first innings at 460 for nine in the morning session on Saturday, a comprehensive 293 runs ahead of England's first innings 167.But their bowlers were unable to reproduce their first innings domination as Cook and Compton cruised through most of the day. Compton had a scare on 16 when New Zealand appealed for a catch down the leg-side but both the appeal and review were turned down, and both Cook and Compton narrowly made their ground taking cheeky singles late in the day. But other than that their innings were chanceless -- easily countering what swing Neil Wagner could muster on the same wicket where he bagged four first innings wickets -- until Cook fell just before stumps. Until then, Cook and Compton's resistance had been formidable and without fanfare with Compton showing no sign of the pressure he was under to retain his place in the side after a four-ball duck in the first innings.He could not disguise his delight as he jumped in the air and pumped his fists after flicking Tim Southee to midwicket to bring up his hundred knowing he had played a vital role in getting England out of trouble and probably saving his Test career. England's measured approach was in contrast to the New Zealand onslaught when they resumed the day at 402 for seven and declared at 460 for nine. In a whirlwind opening session, they cracked 58 runs in less than nine overs as Brendon McCullum raced from 44 to 74 and Bruce Martin advanced from 17 to 41. McCullum declared after the dismissal of the overnight pair to give his bowlers more than an hour before lunch to attack the England line-up. But with conditions weighted heavily in favour of the batsmen, the bowlers struggled to make an impact and a draw was looming as the likely outcome.scoreboardENGLAND 1ST INNINGS: 167 NEW ZEALAND 1ST INNINGS: (OVERNIGHT: 402-7):P Fulton c Prior b Anderson55H Rutherford c sub b Anderson171K Williamson b Panesar24R Taylor c Trott b Anderson31D Brownlie b Anderson27B McCullum c Anderson b Broad74BJ Watling b Broad0T Southee b Broad25B Martin c Prior b Finn41N Wagner not out4EXTRAS: (lb8)8TOTAL: (9 wkts dec, 116.4 overs)460FOW: 1-158, 2-249, 3-267, 4-310, 5-321, 6-326, 7-370, 8-447, 9-460 BOWLING: Anderson 33-2-137-4, Finn 26.4-3-102-1, Broad 28-3-118-3, Panesar 22-2-83-1, Trott 2-0-4-0, Root 5-1-8-0ENGLAND 2ND INNINGS:A Cook c Watling b Boult116N Compton not out102S Finn not out0EXTRAS: (b6, lb9, nb1)16TOTAL: (1 wicket; 87.0 overs)234FOW: 1-231 BOWLING: Southee 18-2-48-0, Boult 19-5-33-1, Wagner 20-4-64-0, Martin 25-7-61-0, Williamson 5-1-13-0 TOSS: New ZealandUMPIRES: Asad Rauf (PAK), Paul Reiffel (AUS)TV UMPIRE: Rod Tucker (AUS)MATCH REFEREE: Roshan Mahanama (SRI)