Super-sub Danny Collins pounced on an injury-time mix-up in the West Pier defence to fire Edgehill to a 2-1 win in tonight's Harbour Cup final at Thornton Dale.
After a quiet opening 15 minutes, Pier were left angered after Jamie Bradshaw appeared to be pushed over by Edgehill keeper Martin Cappleman in the box, but ref Jack Fewster waved away their claims.
Edgehill looked organised and lively, but without any real cutting edge, until Liam Cooper's pinpoint left-footed cross picked out skipper Joe Gallagher, who placed his glancing header precisely over Pier keeper Rich Curtis and into the back of the net.
Pier were then denied by two outstanding saves from veteran Edgehill gloveman Cappleman, his first to keep out Luke Jones' free-kick before a superb reaction stop from point-blank range.
Right on the stroke of half-time scores were levelled up after Pier were awarded a free-kick towards the right edge of the penalty area and Martin Cooper superbly curled the ball past Cappleman and into the back of the net to send the sides in level at the break.
The early stages of the second half were scrappy, with neither side finding their fluent best, although Pier's Sam Garnett had to be alert to head off the line.
Bradshaw went down in the box for a second time, but yet again the striker and the Pier contingent on the sidelines were left frustrated as Fewster waved play on.
Both sides again went close in quick succession, first Cooper's free-kick was tipped over by Cappleman, before Liam Cooper's curling effort from 25 yards was only narrowly off target.
The game continued in an end-to-end fashion as both sides hunted a late winner, Tommy Barker heading off target before Cappleman again saved well, this time from Bradshaw.
It appeared that sub Danny Collins had spurned Edgehill's chance to win the final in normal time after keeper Curtis spilled a high ball and he hooked his volley over the bar with the goal gaping.
He was afforded another chance moments later as the game creeped into stoppage-time when Curtis and his defence were involved in another mix up and the big frontman tapped into the empty net to hand Edgehill the win and spark wild celebrations.
SCARBOROUGH NEWS MAN OF THE MATCH: Martin Cappleman (Edgehill): Centre backs Wayne Aziz and Kurtis Henderson deserve mentions after they marshalled the Pier attack well and organised their midfield well, but Cappleman made four smart saves to prevent Pier winning the silverware.