Manchester United will face
Chelsea in a mouth-watering FA Cup quarter-final if Rafa Benitez's side progress through their fifth-round tie.
Chelsea must overcome
Middlesbrough on 27 February to face United in a repeat of the 2007 final, after United beat Reading 2-1 at Old Trafford.
Elsewhere, if
Oldham can defeat
Everton then they will host
Wigan
Athletic.
Premier League champions
Manchester City host
Barnsley, while
Millwall are at home to
Blackburn Rovers.
Wigan boss Roberto Martinez, who had earlier seen his side comfortably defeat Huddersfield 4-1 ,was delighted with the draw and believes his side are capable of progressing.
"It's a great tie," Martinez said. "Oldham have been magnificent and it's a game that is still open so we will follow that one with interest. Every game is a priority for us.
"What's important as a football club is that you are capable of facing two competitions. I think two, three, four years ago, we never had the opportunity to have a pool of 16-17 players and now we have that strength."
Chelsea, who are looking to win the competition for a fourth time in five years, secured their place in round five with a 4-0 fourth-round replay defeat of Brentford.
With
Manchester City's Premier League campaign faltering and the club already out of Europe, manager Roberto Mancini knows the FA Cup takes on extra importance.
"Every team plays in the FA Cup like it is in a Champions League final," he said.
"The cup is an important trophy in England. Teams may change players in the Capital One Cup but in the FA Cup every team plays seriously.
"You could play in a final at Wembley in front of more than 80,000 people so that has to be good."
Blackburn sealed the weekend's biggest upset after they defeated Premier League giants Arsenal 1-0 at the Emirates. They travel to fellow Championship side
Millwall.
Oldham, the lowest ranked club left in the competition, sealed a fifth-round replay after Matt Smith equalised for the League One club deep into injury time of their tie against
Everton. The pair face each other again on 27 February.
FA Cup quarter-final draw in full:
Manchester City v Barnsley
Manchester United v Middlesbrough or Chelsea
Millwall v Blackburn Rovers
Oldham Athletic or Everton v Wigan Athletic
The ties will take place on the weekend of the 9 and 10 March.