Peterhead boss Jim McInally admitted his side’s win over Hearts will go some way to erasing the memory of relegation to League Two last season.
Peterhead pulled off a historic victory at Balmoor by beating the Jambos 2-1 in the Betfred Cup, thanks to a last-minute winner from striker Rory McAllister.
The Blue Toon will now have the chance to go through to the knock-out stages of the League Cup with a victory over Elgin City on Saturday.
Jim said: “A lot of these players were not here when we were relegated last season but it was a painful day.
“For the ones who were here, it doesn’t obliterate what happened but it gives everyone a bit of joy.”
Jason Brown opened the scoring for home side in the seventh minute with a bullet header following a corner from Willie Gibson.
The defender outjumped the Hearts defence to put the ball past Jack Hamilton who could not get a strong enough hand on it.
After the League Two side took the lead, Hearts upped the tempo with Esmael Goncalves going close on the 16th minute after good work down the right by full-back Michael Smith.
A minute later the Gorgie side drew level when striker Kyle Lafferty flicked the ball home from six yards. It came after some good work down the right side by Jamie Walker and Michael Smith who crossed for the Jambos’ number nine who slotted home to make it four goals in three games.
Both teams had chances to take the lead before half-time with Peterhead having the more dangerous attacks.
McAllister nearly scored with a deft chip over an on-rushing Hamilton but Jordan McGhee was on the line to clear.
Meanwhile, at the other end, Hearts could have scored just before the break if it was not for a brilliant low save from Greg Fleming after a great strike by Jamie Walker.
The second half failed to live up to the excitement of the first – until the last 10 minutes when both sides had great chances.
Jamie Walker had a header cleared off the line by Jamie Stevenson after a wonderful ball in by substitute Malaury Martin in the 81th minute.
A couple of minutes later McAllister danced through the Hearts defence only to see his shot blocked.
Just before stoppage time, the striker had another chance after he played in substitute Jordon Brown who was bundled in the box by fellow sub Arnauld Djoum.
McAllister stepped up and slotted the ball calmly past the helpless Jack Hamilton who guessed the wrong way.
McInally added: “Everybody had written us off and you get annoyed because you don’t get respected at our level.
“We didn’t get respected on Saturday and I’ve read about the Hearts manager and he has never mentioned Peterhead or that we could cause them any problems.
“I said to the players let’s try to get away from people talking about us and letthem know they have been in a game and now they know they have.”