York 2-1 Southend
York gave themselves a lifeline in their battle to avoid relegation with victory over Southend.
The hosts went ahead after two minutes when a deflection in the area fell to Adam Reed, who fired home.
A poor clearance from Jack O'Connell led to Ryan Leonard equalising for the Shrimpers, but Matty Blair blasted in to earn a win for the Minstermen.
York are two points above the drop zone, with their final game to come against fellow strugglers Dagenham.
The Daggers, who lost 1-0 to bottom club Aldershot, sit one point and one place below in 21st.
The defeat ended Southend's slim chances of making a late play-off charge.
VIEWS FROM THE DRESSING ROOM
York City manager Nigel Worthington told BBC Radio York:
"It was a battling performance; you've got to show character in that side of the game and we got that into the play.
"As I said before the game, we had to keep going for the 90 minutes and I think it was Chris Smith who cleared one off the line at the end - it's important that we do the right things.
"Credit to the players they have given it a go and are doing what we've asked."
Southend United manager Phil Brown told BBC Essex:
"I didn't think we attempted to play any kind of football. We played with a kind of route one mentality. It just wasn't good enough.
"The first goal was a long throw, the second goal they had three in our penalty box and we had eight and we still didn't defend it.
"When you are going to defend like that, I don't think you deserve to win any football games.
"We were found wanting in the battle. We get the ball down and play on the training ground, and then you come on a Saturday and you don't play. I wouldn't like to watch that every week."