(REUTERS)-South Africa captain AB de Villiers calmly guided his side to a tense four-wicket victory over New Zealand with one ball to spare in a rain-affected first one-day international in Hamilton yesterday.De Villiers scored 37 not out and ensured number eight batsman Andile Phehlukwayo (29) kept a cool head as the pair put on 54 to reach their 208-run victory target and earn a 1-0 lead in the five-match series.The visitors, who had looked to be cruising to victory at 117-1 with 14 overs remaining courtesy of Quinton de Kock’s 69, lost four wickets in 14 balls to slump to 126-5 before Chris Morris helped his captain in a 30-run partnership.South Africa needed 22 runs from the final two overs and scored 10 from Trent Boult in the penultimate one which included a six from Phehlukwayo, who repeated the feat against Tim Southee in the final over.De Villiers belted Southee for four off the penultimate ball to clinch the victory.New Zealand made 207-7 after heavy rain over the past three days had forced a delay of more than three hours and reduced the match to 34-overs-a-side.“It was really tough out there,” De Villiers said. “The wicket turned so much in the evening. I thought it would skid on and get a bit flatter.“From past experience this becomes a good batting track in the evening and this was far from it.“I’ve never seen a wicket turn so much in my life.”New Zealand struggled for much of their innings particularly up front against tight bowling from Morris, who took the first four wickets as the hosts slumped to 82-4 in the 16th over.But Morris, who had figures of 4-24 from his first five overs, was then taken apart by Colin de Grandhomme (34 not out) and Southee (24 not out) in his final two.De Grandhomme and Southee blasted 51 runs from 23 balls, including smashing 38 runs from Morris’s final 12 deliveries to blow out his figures to 4-62 from seven overs.Bit of a shame really. We got ourselves into a good position but credit to South Africa, they adapted really well,” said New Zealand captain Kane Williamson, who top-scored for his side with 59.“We weren’t perfect with the bat but we felt that 5-1/2 a half an over would be tough to get on that surface and we had enough to make life difficult.”The second match is in Christchurch on Wednesday.NEW ZEALAND InningsD. Brownlie c Behardien b Morris 31T. Latham lbw b Morris 0K. Williamson b Shamsi 59R. Taylor c&b Morris 1N. Broom c Behardien b Morris 2J. Neesham c de Kock b Rabada 29M. Santner c de Kock b Rabada 17C. de Grandhomme not out 34T. Southee not out 24Extras (b-1 w-9) 10Total (for 7 wickets, 34 overs) 207Fall of wickets: 1-19 T. Latham,2-69 D. Brownlie,3-72 R. Taylor,4-82 N. Broom,5-108 K. Williamson,6-136 M. Santner,7-156 J. NeeshamDid not bat: I. Sodhi, T. BoultBowling: K. Rabada 7 – 1 – 31 – 2(w-3),C. Morris 7 – 0 – 62 – 4(w-1),A. Phehlukwayo 5 – 0 – 28 – 0(w-1),I. Tahir 7 – 0 – 42 – 0,T. Shamsi 7 – 1 – 39 – 1,J. Duminy 1 – 0 – 4 – 0SOUTH AFRICA Innings (D/L Target: 208 off 34)Q. de Kock c Taylor b Boult 69H. Amla c&b Williamson 35F. du Plessis lbw b Sodhi 14A. de Villiers not out 37J. Duminy c&b Southee 1F. Behardien b Southee 0C. Morris c Boult b Santner 16A. Phehlukwayo not out 29Extras (b-2 lb-3 w-4) 9Total (for 6 wickets, 33.5 overs) 210Fall of wickets: 1-88 H. Amla,2-117 F. du Plessis,3-125 Q. de Kock,4-126 J. Duminy,5-126 F. Behardien,6-156 C. MorrisDid not bat: T. Shamsi, K. Rabada, I. TahirBowling: M. Santner 7 – 0 – 33 – 1, T. Boult 7 – 0 – 45 – 1,T. Southee 6.5 – 0 – 47 – 2(w-2),C. de Grandhomme 4 – 0 – 27 – 0,I. Sodhi 7 – 0 – 36 – 1, K. Williamson 2 – 0 – 17 – 1(w-1).