South Africa 20 Ireland 26
By Simon Lewis, Cape Town
Key moment: It should have been CJ Stander's controversial sending off in the 23rd minute or Robbie Henshaw's yellow card that left Ireland with 13 men but the match-saving tackle by Robbie Henshaw and Jared Payne on JP Pietersen with Paddy Jackson assisting to hold up the Springbok wing and then bundle him into touch to end the game is now a part of Irish rugby lore.
Talking point: An Irish victory on South African soil has been so long in the waiting that the fact it was achieved with just 14 men and with so man y frontline players missing not only makes it historic but legendary. This was surely Ireland's greatest victory on a rugby field.
Key man: There were some epic contributions across the board, not least from fly-half Jackson, who stamped his authority on the game to fill Johnny Sexton's boots admirably, while on his outside Luke Marshall put in a barnstorming performance. And Jared Payne has surely done enough to convince Joe Schmidt that he belongs at full-back. His performance with and without the ball
Ref watch: The red card for CJ Stander for taking out fly-half Pat Lambie after he had kicked clear, his hip connecting with the Springbok's head was controversial. Some referees would have given Stander the benefit of the doubt, that his momentum carried him into the player, others may have brandished a yellow. Mathieu Reynal and his TMO, Scotland's Jim Yuille, saw it as a sending off offence, viewing that there had been no attempt to block the kick. From the stands it looked a harsh call and Joe Schmidt agreed.
Injuries: Lambie was stretchered off but he was given the all clear by half-time. Ireland did not appear to lose anyone to injury but that bruising encounter, playing almost an hour with 14 men and 10 of those minutes with 13 will have taken its toll on every single body.
Next up: It's on and up to Johannesburg for next Saturday's second Test at altitude and Ireland must now believe there is a series here for the taking. Yet the old saying goes, beware the wounded Springbok.
Fourteen-man Ireland beat the Springboks on South African soil for the first time in front of 42,620 stunned fans at Newlands.
The Six Nations side lost CJ Stander to a red card midway through the first half, but they kept playing positive rugby and Paddy Jackson kicked them home.
South Africa had not played since last year's World Cup and were in their first game under new coach Allister Coetzee, but Ireland had their own problems with Johnny Sexton leading a long list of injured players who missed the tour.
Ireland started the game well, taking advantage of South Africa's loose discipline to enjoy some good field position and their maul was functioning well.
Although Pat Lambie missed an early penalty attempt to put the Springboks in front, the traffic was largely one-way and it was the tourists who drew first blood when referee Mathieu Raynal punished the hosts for pulling down a lineout drive.
Rory Best went to the corner and, again, the maul came down. Iain Henderson carried the advantage at the home side, before Luke Marshall deftly chipped the ball in behind for Jared Payne to dot down.
It was to be a double-blow for the 'Boks who lost Lood de Jager to the sin-bin for the maul offence as Jackson converted the try.
Things turned in the South Africans' direction on 22 minutes, however, as Ireland's early good work was undone by a red card for Stander.
On his return to his homeland, the Munster back-row connected with his former Junior Springbok team-mate Lambie's head with his hip after the out-half had kicked the ball. Raynal reviewed the incident several times, before concluding that the 26-year-old had been reckless and reached for his pocket.
It was Ireland's first red card since Jamie Heaslip was sent off in similar circumstances in New Zealand in 2010.
Despite losing their number 10, the home side scented blood and Elton Jantjies narrowed the gap to four with a penalty before a piece of deft skill saw the Lions out-half put Lwazi Mvovo over.
And things got worse for Ireland as the referee reviewed the footage and found that Robbie Henshaw had gone high and late on Jantjies after the pass, so he was handed 10 minutes in the sin-bin as the conversion sailed over.
Despite playing the rest of the half with 13 men, Ireland somehow managed to go in level as Jackson landed an opportunistic drop-goal before Conor Murray brilliantly denied a Duane Vermeulen charge and Jackson forced Mvovo into touch.
Remarkably, they followed it up with a try to take the lead three minutes after half-time to a reaction of stunned silence at Newlands.
Slick hands from Payne saw Andrew Trimble make gains up the right, his inside pass was touched by Willie le Roux and captain Rory Best pounced with a big carry. Murray picked and went, slipping de Jager's tackle to put his side in front.
Jackson converted and almost added another try when he slipped inside Frans Malherbe and chipped ahead, but Faf de Klerk was too quick for him and averted the danger.
South Africa came on strong, but Ireland's defence held with captain Best leading from the front with a couple of crucial interventions.
Indeed, Jackson came close to making it a two-score game with a long-range penalty, but his effort came back off the post.
He made no mistake with his next effort from closer range, but South Africa hit back instantly when Pieter-Steph du Toit intercepted the out-half's pass and raced in under the posts.
Jantjies converted to make it a three-score game, but Ireland kept coming and Jackson extended the lead to six from the kicking tee after missing a drop-goal attempt.
They had to play all the way to the end as the Springboks threw everything at them.
JP Pietersen looked like he might have scored with the clock having ticked past 80, but a combination of Payne, Henshaw and Jackson forced him into touch.