Hearts drawn to face Hibs in Scottish Cup fourth round
Holders Celtic will host Brechin City in the next round of the competition.
Hearts have been drawn at home to city rivals Hibs in the fourth round of the Scottish Cup.
It is the third season in a row an Edinburgh derby at Tynecastle has come out of the hat.
The draw was made on Monday afternoon and also produced a Lanarkshire derby, with Motherwell at home to Hamilton.
Holders Celtic have a home tie against Brechin City, while Rangers face a trip to play Fraserburgh.
Kilmarnock will play Ross County in an all-Premiership tie, while Aberdeen host St Mirren.
St Johnstone have been drawn away against Albion Rovers and Dundee play host to Inverness.
Partick Thistle face a trip to play the winners of the replay between Montrose and Queen of the South.
A Highland League side is guaranteed to be in the fifth round after Formartine United were drawn against Cove Rangers.
Ties are scheduled to be played on January 20.
Scottish Cup fourth round draw in full
- Dunfermline v Morton
- Ayr Utd v Arbroath
- Albion Rovers v St Johnstone
- Motherwell v Hamilton
- Hearts v Hibs
- Livingston v Falkirk
- Dundee v ICT
- Formartine Utd v Cove Rangers
- Montrose/QOS v Partick Thistle
- Celtic v Brechin City
- Peterhead v Dumbarton
- East Fife v Brora Rangers
- Alloa v Dundee United
- Fraserburgh v Rangers
- Aberdeen v St Mirren
- Kilmarnock v Ross County