Gills on the road for the FA Cup fourth round.
Gillingham will play Swansea City away in the fourth round of the Emirates FA Cup.
The draw for the next stage was made on Monday evening at Molineux by Carl Ikeme and Robbie Keane, and it will see boss Steve Lovell, a former Welsh international, return to his place of birth.
Gills defeated Cardiff City 1-0 in the third round on Saturday with Elliott List netting the only goal at Priestfield to cause a giant killing, with the club having already beaten Slough Town and Hartlepool United in the previous rounds.
Draw in full:
Swansea City v Gillingham
AFC Wimbledon v West Ham United
Shrewsbury/Stoke v Wolves
Millwall v Everton
Brighton & Hove Albion v West Brom
Bristol City v Bolton Wanderers
Accrington Stanley v Derby/Southampton
Doncaster Rovers v Oldham
Chelsea v Sheff Wednesday/Luton
Newcastle/Blackburn v Watford
Middlesbrough v Newport County
Manchester City v Burnley
Barnet v Brentford
Portsmouth v Queens Park Rangers
Arsenal v Manchester United
Crystal Palace v Tottenham Hotspur
Ties will be played the weekend of January 25-28.