Dundee will start their Scottish Cup campaign against last season’s runners-up, Falkirk.
Today’s fourth round draw paired the Dark Blues with Rory Loy’s old club, while St Johnstone will play an all-Premiership tie against Kilmarnock at McDiarmid Park, and Dundee United travel west to play Gary Bollan’s League One Airdrie.
The tie of the round though is Hearts v Aberdeen.
Dunfermline will host Jim McIntyre’s Ross County, while Cowdenbeath and Arbroath will replay for the right to face Rangers in a money-spinner at Ibrox.Full draw:St Johnstone v Kilmarnock
Dunfermline v Ross County
Stirling Albion or Cumbernauld Colts v ICT
Wick Acad or Linlithgow Rose v Queen’s Park or Forfar
Dundee v Falkirk
Livingston v Morton
Dumbarton or Alloa v QoS
Stenhousemuir or E Kilbride v Huntly or Lothian Thistle
Motherwell v Fortmartine or Cove
Hearts v Aberdeen
Airdrie v Dundee United
Stranraer v Celtic
Rangers v Cowdenbeath or Arbroath
St Mirren v Partick Thistle
Inverurie or Annan v Hamilton
Raith Rovers v Hibs
The games will be played on the weekend of January 9.