Giantkillers Oldham Athletic’s reward for beating Premier League club Fulham is a trip to Doncaster Rovers in the fourth round of the Emirates FA Cup.
Latics, who had been hoping to land another top-flight side, had to settle for a trip to the Keepmoat Stadium to play League One opponents.
The tie of the round is Manchester United’s visit to Arsenal while Manchester City are at home to Burnley in an all-Premier League tie.
The two other giantkillers, Newport County and non-league Barnet both play Championship clubs.
Newport travel to Middlesbrough and Barnet play hosts to Barnet.
Full FA Cup 4th Round Draw 2018/19
1 Swansea City v Gillingham
2 AFC Wimbledon v West Ham United
3 Shrewsbury Town or Stoke City v Wolverhampton Wanderers
4 Millwall v Everton
5 Brighton & Hove Albion v West Bromwich Albion
6 Bristol City v Bolton Wanderers
7 Accrington Stanley v Derby County or Southampton
8 Doncaster Rovers v Oldham Athletic
9 Chelsea v Sheffield Wednesday or Luton Town
10 Newcastle United or Blackburn Rovers v Watford
11 Middlesbrough v Newport County
12 Manchester City v Burnley
13 Barnet v Brentford
14 Portsmouth v QPR
15 Arsenal v Manchester United
16 Crystal Palace v Tottenham Hotspur
Ties will be played between January 25/28 and television ties will be announced in due course.