Matt Smith struck four minutes into stoppage time to earn Oldham Athletic a 2-2 draw from their FA Cup clash against Premier League outfit Everton at Boundary Park this evening.
The hosting League One outfit, who knocked out Everton's Merseyside rivals Liverpool in the previous round, began the tie brightly and went on to break the deadlock with 12 minutes played.
Lee Croft appeared to have dragged his shot from the right of the penalty area wide of the target, but Reading loanee Jordan Obita was on hand to roll the ball into an empty net from close range.
Having fallen behind, David Moyes's Everton responded positively and managed to draw themselves level 11 minutes later. Victor Anichebe collected a loose ball on the edge of the penalty area and with his second touch he powered the ball beyond Dean Bouzanis.
In what was their very next attack, Oldham went close to taking the lead again. Obita again had the shot, but on this occasion his curling effort beat Tim Howard, but cannoned to safety off the post.
Everton came out with a more attacking outlook in the second half and it took them just two minutes to go in front. Centre-back Phil Jagielka was the scorer as he beat his marker to a Leighton Baines corner and headed in from six yards out.
Croatian frontman Nikica Jelavic then had two chances to make the tie safe for the Toffees, but on both occasions he failed to find the target from inside the area.
His misses were almost punished, but Howard was able to parry efforts from substitutes Smith and Robbie Simpson.
However, Smith was not to be denied and with the very last attack of the match, he rose highest inside the Everton penalty area to plant a headed effort into the Everton net, thus earning his side a second opportunity to reach the quarter-finals at Goodison Park.