Inverurie and Cults required extra-time to separate them in the final of the JM Low Trophy at Portlethen Academy.
Five minutes had been played when Inverurie thought they might have a penalty but a corner was all that was awarded.
Cults raced to the other end and Cole Anderson sidefooted the ball home after a cross from the left from Finlay Ness.
Midway through the half Cults doubled their advantage. Finlay Ness ran past a defender and into the penalty box before sliding the ball into the net via the far upright.
Lucas Muller blocked a close-in try from Hamish Young after he had made a good run down the left.
A third Cults goal arrived five minutes from the interval. Ness sent in a fine cross from the right which was met by the head of Scott Martin. He placed his effort wide of Mackie’s left hand and into the net.
In the last minute of the half, Inverurie showed they were still in the game with a free-kick on the right taken by Finlay Moultrie.
It was unable to beat the Cults defenders but when the ball came back out Connor Walton had a go but his shot was blocked.
Inverurie pressure began to pay dividends in 12 minutes. A 25-yard free saw the Cults keeper tip the ball over the bar. The corner was met by Jamie Brailsford whose header went in despite the efforts of two Cults players on the line.
Midway through the half Inverurie scored again. They shot for goal and Muller saved the ball but in so doing could only push it into the path of Murray Liddell who poked the ball into the empty net.
Cults scored a fourth 60 seconds later. They made progress down the left before threading the ball through the defence to Ness. He dribbled past a defender and slid the ball beyond Mackie and into the far corner of the net.
Just as Inverurie looked to be running out of time, they notched a third. The Cults defenders were guilty of leaving a cross to each other allowing Young the opportunity to push the ball past Mackie.
Inverurie took no time at all in finding an equaliser. A ball from the right bounced in the box and eluded Cameron Maxwell before breaking to Killoh who smashed the ball into the net.
Five minutes into the first half of extra-time, Inverurie scored. A corner on the left taken by Killoh found Brailsford just inside the six-yard box and he sent his second powerful header of the game well beyond Muller.
Inverurie were comfortable for the remainder of the game until the last minute when a curling effort from Sam Livingston beat Mackie but also missed his post by the narrowest of margins.