Queen of the South's reward for
knocking Rangers out of the Ramsdens Cup
is a home tie against Arbroath in the semi-finals.
The Doonhammers, still unbeaten this season, beat the Gayfield side 6-0 in a recent league match.
Partick Thistle travel to face Cowdenbeath in the other semi-final.
Both ties are due to take place on Sunday 14 October and will be played to a finish on the day, using extra-time and penalties if necessary.
The final will be held in April.
Queens won a penalty shoot-out at Ibrox after the match against Rangers finished 2-2 at the end of extra-time.
Arbroath beat Stenhousemuir 1-0
Cowden were 2-1 winners at East Stirlingshire
Thistle overcame Raith Rovers 3-0
in last week's other quarter-finals.
Cowdenbeath v Partick Thistle
Queen of the South v Arbroath
Ties to be played on Sunday 14 October.