So the hosts have levelled the series 1-1. Mohammad Yousuf's 13th hundred carried them to 265, aided by Shoaib Malik's breezy 56,and in reply South Africa could only muster 240. Pakistan will take confidence from this while South Africa can now go back to their hotel and look forward to the Rugby World Cup final.
The series now moves to Faisalabad for the third ODI on October 23.
I hope you've enjoyed our coverage and I thank you for tuning into Cricinfo again. This is Jamie Alter, your commentator for the day, signing off.
Last over from Gul. 27 to win.