Accrington secured their first league win of the season at the expense of fellow strugglers Bristol Rovers.
The Pirates took the lead after five minutes when Manchester City loanee Alex Henshall's left-wing cross fooled goalkeeper Marcus Bettinelli.
But James Gray netted a close-range equaliser from Peter Murphy's well-executed pass.
Kal Naismith drilled a low shot on the half-hour mark to give Stanley the lead and they held on for three points.
VIEW FROM THE DRESSING ROOM
Accrington manager James Beattie told BBC Radio Lancashire:
"I thought we deserved it. We were the better side tonight. There was a mistake from Marcus, but otherwise we were outstanding.
"His reaction to the mistake and the team's reaction towards Marcus says a lot about how he's played for us.
"He needed his mates to pull him out of the mire and they did that. I'm really pleased for them. They deserve it."
Bristol Rovers manager John Ward told BBC Radio Bristol:
"The first 10 minutes was good and very positive.
"Maybe we got a little bit carried away with that and thought everything was going to turn out OK.
"We've allowed ourselves to get a bit frantic with our decision making.
"That's down to the youth I've got out there. It's not a criticism it's just the situation they've found themselves in."
Accrington Stanley 26 Bettinelli 16 Hunt 27 Naylor 04 Joyce 06 Winnard 05 Aldred Booked 11 Naismith 02 Murphy 09 Webber (Hatfield - 79' ) 17 Gray (Carver - 86' ) 15 Mingoia (Richardson - 90' ) Substitutes 01 Dunbavin 07 McCartan 08 Richardson 10 Hatfield 18 Carver 20 Windass 44 Bowerman Bristol Rovers 01 Mildenhall 02 Smith 30 Lockyer 24 Clarke (Santos - 61' ) 06 Parkes 22 Packwood 25 Clucas 32 O'Toole 26 Brunt Booked 17 Harrison Booked 16 Henshall Booked (Richards - 69' ) Substitutes 10 Richards 15 Norburn 18 Harding 20 Gough 33 Santos 34 Keary 35 Southway
Ref: Geoff Eltringham