Celtic will play Highland League side Buckie Thistle at Parkhead after the fourth round of the Scottish Cup was drawn.
Premiership teams have entered the competition as they look to go all the way to final that will be held at Hampden in May.
In the pick of the third round ties played on Saturday, Queen of the South beat Dundee United on penalties, Partick Thistle won 3-0 against Queen’s Park and Raith Rovers were victorious away at Dunfermline.
Spartans beat Arbroath 2-1 in a result that signalled the end of manager Dick Campbell’s time at Gayfield.
Rangers will take on Dumbarton away in their quest to lift the trophy for a 35th time.
Aberdeen will play Clyde away.
Hibs will play Forfar with fellow Edinburgh side Hearts taking on The Spartans in the games that will be played over the weekend of January 20.
Queen of the South will travel to Paisley to play St Mirren, Partick Thistle will take on Ross County at Dingwall and Raith Rovers will play Livingston in West Lothian.
The only all Premiership tie of the round will take place at Rugby Park when Kilmarnock host Dundee.
Fourth round draw in full
Ayr United vs Kelty Hearts
Kilmarnock vs Dundee FC
Greenock Morton vs Montrose
Inverness Caley Thistle vs Broomhill FC
St Mirren vs Queen of the South
Brora Rangers vs Cove Rangers
Clyde vs Aberdeen
Spartans vs Heart of Midlothian
Bonnyrigg Rose vs Falkirk
Livingston vs Raith Rovers
Motherwell vs Alloa Athletic
Ross County vs Partick Thistle
Celtic vs Buckie Thistle
Forfar Athletic vs Hibernian
Airdrieonians vs St Johnstone
Dumbarton vs Rangers
STV News is now on WhatsApp
Get all the latest news from around the countryFollow STV News
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country