South Africa 24 Argentina 13: Springboks take bronze
South Africa took a 16-0 first-half lead over Argentina in the third-place play-off and Bryan Habana just missed out on making his record-breaking 16th World Cup try.
The Springboks took full advantage of an early yellow card to Argentina's Tomas Cubelli as JP Pietersen went over in the corner, with Handre Pollard kicking the conversion and three more penalties.
Habana, however, needing one more try to break Jonah Lomu's World Cup record, saw one score ruled out and another go begging after he dropped the ball just 10 metres out.
It may not have been the match either team wanted to be playing this weekend but both sets of players sang their national anthems with enough passion to suggest this was more than just an end-of-tournament exhibition.
Adrenaline may even have been running too high early on as Argentine scrum-half Tomas Cubelli was sent to the sin bin for a high tackle and South Africa instantly capitalised, spinning the ball wide for JP Pietersen to dive over in the corner.
Handre Pollard converted and three minutes later the Springboks were almost in again as Habana jumped on a loose ball over the whitewash but Lucas Gonzalez Amorosino was adjudged to have got there first.
Pollard extended the advantage to 10-0 with a penalty after 13 minutes as Cubelli returned to the field with his side already under pressure.
Restored to full strength, Argentina found a foothold in the contest and could have reduced the deficit when Cubelli weaved his way through with a brilliant run but was stopped 10 metres short of the line.
The Springboks weathered the storm and again Habana went close, but again that 16th try proved elusive as he spilled Pollard's looping pass with the line seemingly at his mercy.
More Argentinian indiscipline at the scrum, however, ensured South Africa did not come away empty-handed as Nicolas Sanchez was penalised for coming in at the side and Pollard duly slotted another three points.
South Africa ended the period on top and another penalty allowed Pollard to kick his side 16 points clear with the last action of the half.
Sanchez put the Pumas on the scoreboard with a drop-goal soon after the restart but any hopes of a comeback were soon curtailed as Eben Etzebeth slid over for a second South Africa try.
Pollard was unable to add the conversion from wide and minutes later, Habana's woes continued as the winger let a simple pass slip down his midriff to hand possession back to Argentina.
Habana apart, however, South Africa were cruising as an offside allowed Pollard to kick another penalty before Argentina botched a line-out five metres from their opponents' line.
An infringement up front did mean Sanchez cut the Springboks' lead to 24-6, before Argentine veteran Juan Martin Fernandez Lobbe left the field to warm applause on his final international appearance.
Matfield's Test career also came to an end with 18 minutes remaining, moments after his team-mate Adriaan Strauss had sparked a mass brawl to keep the dozing crowd entertained.
If the second half began to feel more about players leaving the pitch than those still on it, Habana continued the trend as he was replaced in the 68th minute, ensuring Lomu's now joint record remains intact.
The Pumas had the last word as Juan Pablo Orlandi touched down for the biggest cheer of the night, with Sanchez converting for a late consolation.