(CNN) -- Everton teenage substitute Dan Gosling struck with two minutes left of extra time to sink 10-man Merseyside rivals Liverpool in their FA Cup fourth round replay at Goodison Park.
Teenager substitute Gosling is mobbed by Everton team-mates after knocking Liverpool out of the FA Cup.
With the match headed for penalties, 18-year-old Gosling turned to squeeze home a shot past Pepe Reina and send Rafa Benitez's men crashing to a 1-0 defeat.
It completed a miserable night for Liverpool who saw captain Steven Gerrard limp off with a hamstring injury in the first half before losing midfielder Lucas Leiva, who was sent off with 14 minutes remaining in normal time for a second bookable offence.
Everton had come closest to breaking the deadlock as Leon Osman struck the post after Lucas was shown red, while in added time both Cahill and Osman again tested Reina.
Livepool created little and striker Fernando Torres, who looked to be carrying a minor injury, was substituted before the end.
Everton will now play Premier League high flyers Aston Villa, who reached the fifth round at the second time of asking with a 3-1 win over second-flight Doncaster Rovers.
John Carew scored on his first start for three months for Villa, who were reaching this stage for only the second time in nine years.
Steve Sidwell and Nathan Delfouneso were also on the mark for Martin O'Neill's much-changed team, with Jason Price netting a consolation effort for visitors Doncaster.
The east Midlands derby saw Derby County come back from two down to beat Nottingham Forest 3-2 and earn a tie with Premier League leaders Manchester United.
Kris Commons scored the winning with a deflected second half effort to seal a winning return to City Ground for new Derby manager Nigel Clough.
Chris Cohen gave the home side a fine start with a goal after only 60 seconds before Nathan Tyson doubled their lead from the penalty spot in the 14th minute.
But headed efforts from Rob Hulse and Paul Green drew Derby level before Commons struck.
The other replay on Wednesday saw Blackburn beat Sunderland 2-1 in an all-Premier League tie with Benni McCarthy scoring the winner in extra time.