Jack Nolan fired home an added-time winner for 10-man Accrington as they celebrated a 2-1 victory over Harrogate.
Stanley dominated the chances in the first half with Tommy Leigh firing wide, Jay Rich-Baghuelou heading just over and Shaun Whalley skying an effort in the six-yard box.
The Reds took the lead on 28 minutes when they were awarded a free-kick following a foul on Whalley and Sean McConville found the top corner from 25 yards.
Harrogate almost equalised in the first half with goalkeeper Toby Savin denying Luke Armstrong from close range.
After the break, Harrogate keeper Mark Oxley denied Whalley twice and Josh Andrews in quick succession as Stanley looked for a second.
But then Stanley defender Seb Quirk saw red on 82 minutes for two yellow cards and, from the resulting free-kick into the area, Luke Armstrong’s header was turned into the net by Warren Burrell.
Whalley’s overhead kick rattled the post before, in the eighth minute of added time, Nolan rifled home a 30-yard free-kick.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.