YORK City secured three crucial points away at promotion-chasing Macclesfield Town, putting on a sterling performance to win 3-1 at Moss Rose on Tuesday night in the National League.
Simon Heslop scored a thunderous 25-yard strike to open the scoring, before a clever flicked finish from Vadaine Oliver doubled the advantage after 15 minutes.
The Silkmen had a way back into the game following Danny Whitaker's penalty after 65 minutes, before Jon Parkin struck six minutes from time to secure all three points for Gary Mills and his side.
The hosts appeared to dominate the early possession, forcing an early chance as the ball was driven across the area, evading the touch of Chris Holroyd, who looked in place to tap home from a few yards.
However, it was the Minstermen who made an early breakthrough out of the blue, with Jon Parkin squaring across to skipper Simon Heslop, who drove on into the Macclesfield half, letting fly with a thunderous shot from 25 yards and finding the top corner against a helpless Scott Flinders.
The captain's goal immediately appeared to settle City into the game, and they soon doubled their lead with a speculative ball forward somehow finding Vadaine Oliver. He turned cleverly and flicked over a stranded Flinders from 10 yards to give the Minstermen a two-goal cushion.
City played to the potential they have been showing of late, comfortably staying on top of their promotion-chasing opponents away from home, rarely giving the Silkmen a sniff at goal before the half-hour mark with a controlled display from front to back.
George Pilkington misplaced a backpass for the Silkmen that was chased down by Oliver, with former City defender John McCombe just about finding Flinders to clear with Oliver just a yard away from making it 3-0.
The Silkmen launched a late barrage of pressure at the end of the first half, with Ollie Norburn's long-range drive well saved by Scott Loach, before Danny Whitaker latched on to a loose ball at the edge of the City area, powering a shot just past the upright.
It was clear that the hosts still carried a substantial attacking threat, with a big second half for both sides at the Moss Rose, with Town needing three points to maintain their play-off push.
The Silkmen burst out of the blocks in the second half with a flurry of early chances, first with Anthony Dudley clean through on goal after the City defence split, but for Hamza Bencherif to dive in with a vital last-ditch block. This was quickly followed by Loach being called into action after punching to Luke Summerfield on the volley, with Loach excellently parrying to take it over the bar.
City forced a chance for themselves, though, with Adriano Moke's cross finding the head of Oliver, before going to Amari Morgan-Smith, shooting on the turn left-footed from 10 yards, but saved by former City stopper Flinders.
Flinders was in action again soon after, with Parkin chesting and volleying on the turn, saved low to his right by the Town goalkeeper, also getting in the way of Oliver's follow-up to force the ball over the bar.
The hosts were offered a route back into the match after Parslow was adjudged to have handled in the area, and Whitaker stepped up to send Loach the wrong way and halve City's lead, leaving a tense finsl 25 minutes in Cheshire.
The Minstermen could have re-established their two-goal advantage soon almost immediately, with Sean Newton's free-kick headed across goal by Bencherif, and Parkin left unmarked, volleying agonisingly wide for City.
Parkin was to get his reward for his performance, though, making sure of the three points after an enormous long throw from Sam Muggleton found the big striker, prodding in at the third attempt after Flinders scrambled and failed to save.
Loach was at the ready to protect the advantage at all costs for City, with a save at his near post from Dudley followed up by a sterling double-stop, firstly full-stretch to his right and blocking the low driven rebound for the Silkmen.
This result puts the Minstermen to within four points of safety in the National League, with another vital match coming at Bootham Crescent on Saturday afternoon against Braintree Town.