Hashim Amla returned to form with a century which set up a 20-run win for South Africa in the first one-day international against New Zealand at SuperSport Park, in Centurion.
Amla (124) and Rilee Rossouw (89) shared a second wicket partnership of 185 as South Africa scored 7-304 after being sent in to bat.
New Zealand had threatened to get close before they were bowled out for 284 with 11 balls remaining.
Tom Latham (60) and captain Kane Williamson put on 104 for the second wicket after Luke Ronchi had been caught at first slip off Dale Steyn in the first over.
An injured Martin Guptill made an aggressive 25 after Williamson was dismissed for 47 but the Black Caps then lost three wickets in the space of 12 balls.
Guptill injured his left wrist while fielding and did not open the batting as usual. He came in at number four after having an injection.
The tourists looked out of the game at 5-158 but left-handers Jimmy Neesham and Colin Munro put on 71 off 65 balls to keep their side up with the required run rate before both were dismissed in quick succession.
“I was pleased with the way the boys stuck at it considering the way Hashim and Rilee Rossouw batted,” said Williamson. “But when you lose three wickets in a short time it doesn’t help.”
South African captain AB de Villiers was disappointed with a sloppy South African performance in the field.
“We should have won by a bigger margin. We need to get that energy going. Perhaps a good fielding session is needed before the next game.”
Amla had gone ten international innings without a fifty since making 159 against Ireland in a World Cup match in Canberra on March 3. In seven of those innings he failed to reach 20.
But much of Amla’s customary fluency returned as he posted a half-century off 54 balls and his 21st one-day international hundred off 109 deliveries.
He was bowled by Adam Milne for 124 off 126 balls, with 13 fours and three sixes. He was dropped on 74 when a diving Latham at cover could not hold a fierce drive off part-time bowler Munro.
It was the first meeting between the two teams since a dramatic World Cup semi-final, which New Zealand won by four wickets with one ball to spare in Auckland in March.