JOHN Coleman's half-time team talk must have been one of the most important of his career as victory was melting away at KitKat Crescent.
2-1 down at half-time and the 400-strong travelling fans were feeling another crunch clash wasn't going their way after their heroes had picked up just two points out of the previous nine.
But, the interval chat was the boost they needed, as Stanley got the break and opened up a mouthwatering 14 point gap at the top of the Conference table with just six games left.
The Reds fans were revelling in the second half show which was one of the best of the season as Stanley displayed the spirit they have shown in most games, with some stunning football and the necessary goals.
And, just to add to the whole occasion, news filtered through that nearest title challengers Hereford had lost and, after Tuesday's loss at Southport, all was rosey again.
"It was probably some of the best football we have played in the second half," admitted the manager.
"I was disappointed with the goals we conceded and we have shot ourselves in the foot as, after we scored the equaliser, we were on top and then they made it 2-1 with a goal that could have been avoided.
"We didn't look like a team fighting to win the league and we need to change that at half-time.
"The ability has never been in question but maybe some lost their nerve a little but it was a case of just getting the belief back ."
Even York manager Billy McEwan, who was furious at Gainsborough referee Shaun Procter-Green and almost walked out of the ground during the match, paid tribute to the table toppers.
"Accrington still worked their socks off to close us down after they had scored their fourth goal and I said to my boys that if you want to be a really top side, as I am sure we will be, then those are the lessons we have to learn," he said.
Saturday's Roses game was widely anticipated with Stanley desperate for a win after their recent jittery form and with Hereford hot on their heels.
But it was feared the leaders would be up against it especially in defence with Robbie Williams and Leam Richardson suspended and Coleman had to call on captain Peter Cavanagh, who has been sidelined with injury, to patch up his side.
And they were facing a York side who had enjoyed six wins out of their last seven games to make them play-off candidates.
It was all the home side in the early stages with Rob Elliot denying hot shot Andy Bishop, Emmanuel Panther fired wide from a good position and the Stanley goalkeeper pushed out a Darren Dunning blast of a free kick.
There was a goal coming - and it fell to Clayton Donaldson after a Mark Convery corner was flicked off the head of Paul Mullin and was finished off by the York striker.
And they could have gone two up when top scorer Bishop got the ball unmarked in the area on 33 minutes and only had Elliot to beat. He took his time and tried to place it but only ended up shooting at the keeper who pulled off a great save with his legs.
That seemed to wake the Reds up and, a minute later, Gary Roberts sprung to life and won the ball on the left wing. He crossed into a busy area with Mullin charging in at the far post and the tall striker was able to finish well.
Stanley did then try and push the game but their joy was short-lived as, six minutes later, Donaldson raced to the by-line after a defensive error and set up Bishop who took two touches to slot the ball home.
Roberts was denied by keeper Chris Porter on the stroke of half-time and, 2-1 behind and all to play for at Hereford, the league leaders had every reason to be nervous.
However, Coleman's words galvanised Stanley and it was the confident side of earlier in the season who came out after the break.
Within three minutes, a Roberts ball in from the left wing hit the hand of Jamie Price - despite protests from McEwan that it hit his face - and the referee pointed to the penalty spot.
The watching fans were on edge as the Reds have missed four penalties this season in league games.
But David Brown held his nerve to fire past Porter and, at 2-2, it was game on.
The referee did then need to calm things down as it all begun to get a bit heated not helped when Brown raced for a ball on the sideline and he ended up clashing with a York player before they both squared up to each other.
There was a worrying moment, with the home crowd chanting 'off', that Brown would become the fifth successive dismissal for Stanley but the referee held up a yellow and Brown, with a bloodied mouth, was subbed soon after.
The next goal was always going to be the important one and Danny Ventre and Elliot combined to somehow force Bishop's header off the line following another dangerous Convery corner as York looked to burst ahead again.
But Stanley did better with their next flag kick when Roberts curled the ball into the danger area and Mullin leapt above the defence for his 15th goal of the campaign to give the Reds the lead for the first time.
There was then a tense moment when Bishop went flying after a nudge by Cavanagh in the area but the referee was having none of it and it proved to be a turning point.
The York boss was fuming: "Andy has gone to put the ball in the net from a free header and the lad has knocked him out of the way. If the referee couldn't see that then he needs to go to the opticians."
Coleman admitted: "I have seen them given. We had a similar one given against us at Northwich last season. It wouldn't have suprised me."
But it was play on and Stanley went down the other end and, three minutes after taking the lead, Ian Craney got on the end of a Danny Ventre throw in and turned and slotted the ball beyond the diving Porter.
This seemed to knock the stuffing out of York who toiled but didn't have the earlier cutting edge and the home crowd were silenced.
There was only going to be one winner and Mullin was denied a hat-trick after he burst through and Porter came out and brought down the striker - but referee Porter-Green judged he had got the ball first.
It was a lively ending with York seemingly destined to grab a consolation in injury time when Phil Edwards upended Donaldson in the area and could have no complaints.
But Bishop, looking for his 22nd goal of the campaign, tried to tuck it into the bottom left hand corner of the impressive Elliot's goal and the keeper guessed right for his second penalty save in two games.