1 of 5
Scott Heppell, Associated Press
Manchester United's Wayne Rooney, right, scores a goal past Manchester City's goalkeeper Costel Pantilimon, left, during their FA Cup third round soccer match at the Etihad stadium, Manchester, England, Sunday, Jan. 8, 2012.

MANCHESTER, England — Manchester United took a measure of revenge on neighbor Manchester City on Sunday by knocking the defending champion out of the FA Cup with a 3-2 victory marked by Paul Scholes coming out of retirement.

Wayne Rooney headed in two goals either side of Danny Welbeck's volley in a dominant first-half in the third round match, which saw City Vincent Kompany sent off for fouling Nani in the 12th minute.

But the hosts, which humiliated United with a 6-1 league victory at Old Trafford this year and beat their rival in last year's FA Cup semifinals, staged a second-half comeback with Aleksandar Kolarov and Sergio Aguero scoring to ensure a nervy end for the visitors.

The 37-year-old Scholes came out of retirement on Sunday morning and replaced Nani in the second half, but gave away the ball that led to Aguero's 65th minute-goal.