Fifth one-day international, Johannesburg:
South Africa 310-4 (49.4 overs) beat West Indies 304-2 (50 overs) by four wickets
Jacques Kallis made a career-best 139 as South Africa clinched one-day series victory over West Indies with a four-wicket win in the final match.
Kallis finished the series with a career-best 139
Chris Gayle hit 152 not out, sharing a record opening stand of 193 with Shivnarine Chanderpaul to reach 304-2.
There was tight bowling at the death from Gayle and Ravi Rampaul, who dismissed Kallis in the 49th over.
But the hosts passed a record target of 306 thanks to Mark Boucher and Shaun Pollock, whose six finished the match.
South Africa's previous record batting second was 297-5, also against the West Indies, in Lahore in 1997/98.
Kallis was joined by skipper Graeme Smith, who made 58 in a partnership of 102 and Jacques Rudolph helped his namesake add 90 in 11 overs against some mediocre bowling.
But the match was in doubt until the final over, when crucial mistakes in the field allowed Pollock to take six runs from two balls, before his maximum off Gayle over long-off.
The West Indies laid down the gauntlet after winning the toss for the first time in a completed match.
After a patient start, Gayle took the attack to South Africa, reaching 100 from 116 balls to double his previous best against this opponent.
He was not done there, topping the previous best at this ground, Australian Andrew Symonds' unbeaten 143 against Pakistan in last year's World Cup.
BEST WI OPENING STANDS
193 Gayle & Chanderpaul
v South Africa, 2004
187 Chanderpaul & Williams
v India, 1997
186 Greenidge & Haynes
v New Zealand, 1987
185 Greenidge & Haynes
v India, 1989
182 Haynes & Greenidge
v Pakistan, 1981
But he finished one short of his career best 153 not out, made against Zimbabwe at the start of this tour.
After Chanderpaul fell for 85, Ricardo Powell lifted the tempo late on with an unbeaten 49 from 24 balls.
Smith, forced to use his own off-spin as a seventh bowling option, finally dismissed the opener as he attempted to repeat a slog-swept six.
After skipper Brian Lara fell for 11, Powell proved an ideal companion, improvising brilliantly in an unbroken stand of 92 from just 8.3 overs and hitting two spectacular sixes in the last two overs.
After a similarly aggressive response, Herschelle Gibbs fell in the sixth over of South Africa's reply, miscuing a flick at Corey Collymore shortly after slog-sweeping him for six.
The home side stayed on pace despite losing captain Smith for 58, bowled trying to push at Gayle's off-spin, and Boeta Dippenaar for 28.
But it took an unbroken stand of 14 between Boucher and Pollock to finish proceedings, Boucher finishing seven not out and his former skipper on 13.
South Africa: Herschelle Gibbs, Graeme Smith (capt),
Jacques Rudolph, Jacques Kallis, Boeta Dippenaar, Mark Boucher (wkt),
Lance Klusener, Shaun Pollock, Robin Peterson, Makhaya Ntini,
West Indies: Chris Gayle, Shivnarine Chanderpaul, Ramnaresh
Sarwan, Brian Lara (capt), Dwayne Smith, Ricardo Powell,
Ridley Jacobs (wkt), Ryan Hurley, Mervyn Dillon, Ravi Rampaul, Corey