Wayne Rooney marked his first Manchester United appearance since December 23 with the only goal of the game as they beat West Ham 1-0 in a FA Cup third round replay at Old Trafford on Wednesday.
Victory saw Premier League leaders United, the record 11-times FA Cup winners, into a fourth round tie at home to fellow top flight side Fulham.
Rooney opened the scoring in the ninth minute after the recalled Anderson produced a superb, defence-splitting pass and Javier Hernandez bore down on goal before unselfishly squaring the ball to the England striker, who was never going to miss from a few yards out.
In the second half, Rooney blasted over the top from the penalty spot after Jordan Spence handled a cross from Ryan Giggs.
Earlier, Arsenal left it late before seeing off Swansea 1-0 in a third round replay with England midfielder Jack Wilshere scoring four minutes before full-time with a powerful shot.
Arsenal, gunning for a first major trophy in eight years, now face second-tier Brighton, the 1983 FA Cup finalists, in the fourth round.
Barca held, Real win
London: Holders Barcelona conceded a late goal to draw 2-2 at home to 10-man Malaga in their King’s Cup last-eight first leg on Wednesday.
Malaga drew first blood in the 25th minute when Manuel Iturra slotted past the stranded Jose Manuel Pinto.
Barca equalised three minutes later, Lionel Messi curling a low shot beyond Carlos Kameni, and had the lead a minute later when Carles Puyol headed Alcantara's corner in.
With 15 minutes left, Malaga were down to 10 men, Ignacio Monreal sent off for felling Pedro when he was through on goal. But Ignacio Camacho equalised for the visitors in the 90th minute.
Real are the likely opponents in the last four after they beat Valencia 2-0 at the Bernabeu in their first leg on Tuesday.