Middlesbrough have survived a scare in their FA Cup fifth-round clash with Oxford United by scoring a late goal to claim a 3-2 victory at the Riverside Stadium.
The hosts went ahead in the 26th minute when Grant Leadbitter rifled home from the penalty spot after Stewart Downing was felled in the box by Chris Maguire.
Maguire had an effort ruled out moments later, before Rudy Gestede doubled the Premier League side's lead in the 34th minute with an acrobatic volley.
However, the League One underdogs stunned the home support in the stadium when Maguire floated a free kick into the net 65 minutes in after a slight deflection off the wall.
Just two minutes later, Maguire forced a save from Brad Guzan, only for Antonio Martinez to rush in and hammer the ball home on the rebound to pull Oxford level.
Ultimately it was not to be for the U's as Cristhian Stuani was in the right place at the right time to finish off Alvaro Negredo's flick-on in the 86th minute to put Boro through to the quarter-finals of the competition.