David Gray booked his place in the final of the UK Championship after staging a thrilling fightback to edge out Joe Perry in York.
Perry had produced some impressive snooker to take a 5-3 lead after the end of the first session.
But Gray came back to the table and wiped out the deficit to take the match to 7-7 and grabbed a vital snooker with Perry 8-7 up to force the decider.
The 25-year-old held his nerve, sealing victory with a 139 total clearance.
Perry had started the match in impressive form, grabbing a 102 break to win the first frame but Gray responded immediately with a 105.
The duo then shared the next four frames but Perry took a 5-3 lead as he cut in a fine blue before sinking the crucial pink to take charge of the contest.
But the world number 20 could not respond to Gray's pressure in the final session and saw his lead cut back and finally overhauled.
"It's hard not to think you are out when you get into the position I was in
and I was ready to shake Joe's hand," admitted Gray.
"But once I had made it 8-8 I never felt I would lose."