Matty Pearson scored the winning goal as Stanley saw off Premier League Burnley in the last minute of extra-time in the EFL Cup in the first competitive fixture between the two neighbours.
Sean McConville’s cross bobbled around the area and the defender pounced to slam home the winning goal to send the William Dyer Clayton End into raptures.
It was a night to remember against their top flight opposition and a goal to remember for former Blackburn Rovers trainee Pearson.
The first half was a cagey affair as Sean Dyche made changes to the starting line-up which overcame Liverpool t the weekend.
Former Claret Shay McCartan had a couple of runs at the Burnley defence early on and Stanley almost took the lead in the 20th minute but Mark Hughes volleyed wide at the far post.
The Premier League side were bossing possession though and striker Sam Vokes fired across the goal and narrowly wide while Stanley keeper Elliot Parish raced out to deny Iceland Euro 2016 star Johann Berg Gudmundsson.
Winger Michael Kightly – who Stanley played against in his Grays Athletic days – almost set up Lukas Jutkiewicz but the frontman just failed to get a touch as the visitors pressed for the opener.
Stanley’s chances were limited but skipper Seamus Conneely had a go from the edge of the area although it was comfortable for Nick Pope as the half finished goalless.
Wales striker Vokes had a good chance after the re-start which was deflected for a corner and Lukas Jutkeiwicz should have done better with a diving header which he somehow steered wide.
McCartan had a chance to put one over his former club but couldn’t connect properly with John O’Sullivan’s cross.
As both managers strived to break the deadlock, Dyche put on striker Gray who scored 25 goals last season while Coleman brought on Rommy Boco.
And Stanley did threaten with Sean McConville firing from distance but Pope got down low to deny him while Parish did the same to keep out Gudmundsson.
Paddy Lacey came on for his Stanley debut, replacing Billy Kee in the 83rd minute, and he could have been a match winner as he got on the end of Boco’s cross but he couldn’t find the target.
Then it was down to Gray to miss two gilt-edged chances in normal time when he stroked Gudmundsson’s cross wide and the former Luton striker was denied by the legs of Parish.
Arron Davies came on in extra-time and he was lively – his first touch was a shot which was deflected just over the bar while, at the other end, Parish kept out Scott Arfield’s drive.
Dyche’s final gamble was George Boyd in the second half of extra-time but it was Boco who was almost the match-winner with Pope doing well to keep out his header – but the Burnley keeper couldn’t stop Pearson.