Accrington Stanley boss James Beattie will keep his side focused as they edge closer towards Football League survival.

Stanley stay four points clear of the relegation zone after a 1-1 home draw with Mansfield.

Jake Speight put the Stags ahead in the 75th minute and they looked on course for a win until Kal Naismith converted a penalty deep into injury time.

"We have got to keep working hard as we are not mathematically safe yet," said Beattie, whose side were bottom of the table in October.

"We are all battling to keep this side in League Two and I am 100 per cent confident we will do it.

"The lads have been tremendous and they have a real never-say-die attitude. We have picked up a lot of points with late goals and it shows our character. They never know when they are beaten and they make me smile."

Mansfield boss Paul Cox, whose side were looking for a fifth successive win, said his players were angry as they felt James Gray was offside before he won the late penalty.

"The lads are furious but we shouldn't have been in that position in the first place," said Cox. "It was a strange end to the game as, after we scored, I just felt we would ride it out like we have done in the past.

"But when we scored we seemed to panic and lose our shape. We know Stanley keep going until the end - we saw that at our place earlier in the season when they scored two late goals - but we went to sleep."

It was a close game which could have gone either way as Mansfield looked to mount a late challenge for the play-offs.

In the first half, goalkeeper Lewis Price kept out Stanley striker Shay McCartan's drive with his legs and also tipped over a Peter Murphy effort on the stroke of half-time.

Accrington keeper Marcus Bettinelli also had to be in top form, turning Oliver Palmer's effort round the post and palming away Matt Rhead's fierce strike.

After the break, Ryan Tafazolli should have done better with a thumping header for Mansfield but could not find the target while Sam Clucas could only find the side netting.

Speight then made his effort count when he fired into the roof of the net from eight yards out after fellow sub Clucas had beaten two players on the right wing before playing in an accurate cross.

Mansfield almost had a second goal when Bettinelli's kick rebounded off Speight and hit the post in injury time.

But Stanley went straight down the other end and referee Richard Clark pointed to the penalty spot for Naismith to secure a point in the fifth minute of added time.