The survival instincts of Mark Selby rescued the defending world champion and left Kurt Maflin heartbroken at the Betfred World Championship as the Crucible witnessed an opening-day classic.
It seemed the theatre's famous 'curse' was set to strike again when Selby lost five successive frames from 8-4 in front, to be one away from a shock first-round defeat.
Never before has a first-time champion returned to Sheffield and successfully defended the title, with Selby coming terrifyingly close to being the 16th to crash and burn on that mission.
Instead he faced up to the adversity and snatched the next two frames to earn a 10-9 victory, setting up a shot at Anthony McGill or Stephen Maguire in the second round.
McGill held a 6-3 overnight lead in that all-Glasgow battle.
Whether cursed, careless or caught out by the craft of Maflin, Selby's snooker legs gave way on Saturday evening, until they belatedly propped him up at the death.
Four defending first-time champions have tumbled out in the first round since the tournament moved to its South Yorkshire home in 1977: Steve Davis, Dennis Taylor, Graeme Dott and Neil Robertson.
Selby looked like having his name added to that list when Maflin was at the table early in the 18th frame, but he failed to make the best of his opportunity, and of another that arrived early in the decider when the underdog missed a red that will haunt him.
Maflin, born in London, but resident in Oslo for the last decade and now a Norwegian citizen, grew up competing with Selby in snooker's junior ranks but the paths of their careers diverged in the professional game.
While Selby made his World Championship debut 10 years ago, Maflin is new to the Sheffield scene. This was his debut.
He made early breaks of 96, 60 and 88 but still trailed 6-3 after the morning session.
World number one Selby curiously went off the boil just when he was looking close to the form that saw him beat Ronnie O'Sullivan in last year's final. He produced a total clearance of 124 to pull four frames clear, with victory beckoning.
Rather than complete the job there, Selby faltered and 38th-ranked Maflin surged close, then level, and then unbelievably ahead.
Selby gave away 30 points in fouls after repeatedly failing to escape from a snooker in the 14th frame.
With three reds on the table, Selby looked to flick off the ball furthest up the table, close to the pink, but found the two-cushion attempt particularly problematic.
He gave away so many points that it reached the point where he found himself needing snookers, and if Maflin did not have Selby rattled before then, he surely did at that moment.
On qualifying, beating Fergal O'Brien 10-9 late at the nearby Ponds Forge leisure centre on Wednesday night, Maflin was mentally exhausted and said he wanted to avoid playing on day one of the tournament.
But he also stated the prospect of facing Selby, or Ronnie O'Sullivan, would not worry him, saying: "If my game is as good as it can be I think that'll be enough to get through."
That was bold talk, but Maflin backed it up on the table.
Maflin said: "I had a chance in the decider, didn't take it and he deserved to win.
"He's so tough to beat and he was the better player on the day.
"I was quite calm out there all day. I'm happy, I just wish it had gone the other way."
"I still feel a nervous wreck" - Mark Selby in the aftermath of his win
Maflin was a professional at the age of 16 but has been relegated from the tour four times after struggling to match his own expectations.
Living in a country where Maflin estimates there are just 60 full-size tables, and where practice partners of suitable quality are in short supply, cannot have helped.
He quit professional snooker in 2004, and was only tempted back two years later when a Norwegian businessman and fellow keen snooker player, Knut Pedersen, offered him sponsorship if he made a century in the final of a local amateur tournament. Maflin made 137 in the opening frame.
Maflin has stumbled upon the finest form of his career in the last month, reaching the semi-finals of the China Open, beating Steve Davis and then O'Brien to earn his Crucible bow, and now pushing the man who stunned O'Sullivan in last year's World Championship final all the way.
Selby punched the air in delight on getting over the line, and whooped as he came into his press conference, saying: "You have to get your money's worth, you pay a £700 entry fee."
Selby said of Maflin: "He played fantastic snooker and at any other venue I think I'd have been out.
"Because it's so special here I think he probably felt the nerves a little bit towards the end.
"When he was at the table at 9-8 I was preparing my speech, thinking the curse has happened again. Hopefully it's not going to.
"History doesn't lie. Look at the greats who've won this tournament and when they've won it the first time they've not come back to defend it.
"It's the hardest tournament in the world to win.
"I thought it was probably not my time and it's Kurt's match but I managed to fall over the line.
"I still feel a nervous wreck."
Graeme Dott ground out a 5-4 lead at halfway against Ricky Walden, in a match that will conclude on Sunday, Marco Fu edged ahead by the same margin against Jimmy Robertson, and John Higgins carries a 6-3 advantage over Robert Milkins into their deciding session.