Tranmere Rovers moved seven points clear at the top of League One, coming from 2-0 behind to defeat Yeovil Town.
Sam Foley set up Paddy Madden to put the visitors in front and Foley doubled the advantage from close range.
But James Wallace's header reduced the deficit and Jake Cassidy levelled for Rovers, following up after Adam McGurk's initial shot had been saved.
Yeovil then had Joe Edwards sent off for two yellow cards before Danny Holmes netted Tranmere's late winner.
From a quickly-taken corner, visiting goalkeeper Marek Stech denied a first effort from Holmes but was unable to keep out his second attempt.
Stevenage losing at Colchester
Sheffield United dropping two points late on at home to Oldham,
victory became even more valuable for Tranmere.
But the hosts had to recover from a shocking start. They were trailing by two goals inside half an hour, with Madden continuing an impressive start to his loan spell with the Glovers.
Fortress Prenton Park
Tranmere's last home defeat was a 2-0 reverse against MK Dons on 10 December last year
Two days after joining
on loan from Carlisle,
the 22-year-old scored twice on his debut as Gary Johnson's men ended a six-match losing streak with
victory against Colchester
After Madden had found the net for a third time in two games, Yeovil looked on course for their first away points since 25 August.
But Tranmere, who were without prolific duo Jean-Louis Akpa Akpro and Andy Robinson because of injury, fought back strongly to avoid their first home defeat since December 2011 and extend their unbeaten run at Prenton Park to 18 matches.
VIEW FROM THE DRESSING ROOM
Tranmere Rovers manager Ronnie Moore told BBC Radio Merseyside:
"We were awful in the first half, but we showed a bit of courage, a bit of determination and a bit of togetherness.
"We got the goal just at the right time, just before half time, and at 2-1 I felt it was a game we could go on and win.
"That's not the way we've defended. You don't get six clean sheets in 11 games defending like that, and we won't get many more if we defend like that.
"But I have to give them a pat on the back for their never-say-die attitude. I'm pleased that 'Holmesy' got the goal for us at the end."
- 01 fon Williams
- 02 Holmes Booked
- 04 Taylor
- 14 Bakayogo
- 21 Gibson
- 06 Palmer
- 07 Thompson (Stockton - 46' )
- 08 Wallace Booked
- 09 Cassidy
- 11 McGurk (Black - 86' )
- 22 Bell-Baggie
- 33 Mooney
- 03 Black
- 19 Kay
- 12 Harrison
- 15 Kirby
- 17 Power
- 16 Stockton
- 01 Stech
- 03 McAllister
- 04 Hinds
- 18 Burn Booked
- 22 Edwards Dismissed after an earlier booking
- 07 Marsh-Brown Booked
- 08 Upson
- 14 Foley (Webster - 76' )
- 21 Smith Booked
- 09 Hayter (Williams - 76' )
- 17 Madden
- 12 Stewart
- 05 Webster
- 06 Blizzard
- 10 Williams
- 11 Reid