South Africa convincingly won the fifth and final one-day international against Pakistan in Sharjah to complete a 4-1 series victory.
Captain AB de Villiers made an unbeaten century to spearhead the Proteas total of 268-7, and Pakistan fell 117 runs short, making just 151 in their reply.
De Villiers, batting at five, hit 10 boundaries and three sixes in his unbeaten 115 off 102 balls. The 29-year-old became the fastest man from his country to reach 6000 international ODI runs in the process.
South Africa were teetering at 62-3 in the 16th over when he came to the crease, but a 62-run stand with Francois du Plessis (46) and an 83-run sixth-wicket partnership with Ryan McLaren (27) took the visitors to a strong total.
Pakistan were soon in trouble in their reply and lost three wickets in the opening nine overs with Vernon Philander picking up two victims.
However, Sohaib Maqsood continued the fine start to his international career with his second ODI half-century in as many matches.
He scored 53 runs off 65 balls, but when he became JP Duminy's second victim, Pakistan were in real trouble at 130 for seven in the 31st over.
Wayne Parnell then blew away the tail to take three quick wickets before McLaren had Sohail Tanvir caught behind to end the innings in the 36th over. A sorry-looking scorecard saw seven Pakistan batsmen with single figures next to their name.
South Africa, who drew the Test series 1-1, complete their tour of the United Arab Emirates with a two-match Twenty20 series in Dubai on Wednesday and Friday.