A goalkeeping blunder from Joslain Mayebi gifted struggling Stockport County an unexpected win against high-flying Wrexham.
Mayebi rose to meet a Danny Rowe corner but the goalkeeper only succeeded in punching into his own net.
A bad day for Wrexham was compounded when Jay Harris was sent off early in the second half, bringing down Rowe to earn his second booking.
Danny Whitehead almost doubled the Hatters' lead but Mayebi saved well.
Victory lifts Stockport a point clear of the drop zone but Wrexham are now five points adrift of Blue Square Bet Premier leaders Fleetwood Town.
VIEW FROM THE DRESSING ROOM
Wrexham player-manager Andy Morrell told BBC Radio Wales:
"There's a bit of disappointment, frustration; I thought the first half was the worst we've been for a long, long time.
"It pains me to say it but they out-battled us, out-fought us, out-ran us and that's not something I've had to say since I took over.
"We were a lot better second half and then down to 10 men we did alright but I'm just raging about the first half, it wasn't good enough.
"We've set our whole season out on hard work and we just didn't do it."
Sorry, we were unable to load match stats, please try again.