Sheffield Wednesday narrowly beat Championship rivals Fulham to reach the fourth round of the FA Cup.
Barry Bannan unleashed a fierce half-volley from 25 yards which went in off the crossbar to open the scoring.
However, substitute Moussa Dembele equalised seconds later, as he coolly slotted home from eight yards.
The hosts won through when Lucas Joao’s cross was met by Atdhe Nuhiu, whose shot bounced down in to the ground and it in to the left-hand corner.
Prior to the match there was a minute’s applause for former Sheffield Wednesday goalkeeper Pavel Srnicek, whose funeral was held earlier this week.
Fulham, who made five changes to the side that lost to the Owls in the league seven days earlier, dominated large parts of the game and managed six shots on target to the home side’s two.
However, following the early departure of forward Cauley Woodrow with a foot injury, the Cottagers struggled to find a way past Joe Wildsmith.
Bannan’s second goal of the season gave Wednesday an unlikely lead.
But the joy of the home fans was short lived as Dembele levelled less than 70 seconds later after Ross McCormack’s shot was blocked on the line and fell kindly to the Frenchman.
Dembele missed two chances to put Fulham ahead after the break, and Wednesday made the London side pay, with Nuhiu coming off the bench to help secure a hard-fought victory.