Billy Mckay hit a hat-trick as Inverness CT came back from two goals down to beat Elgin City 4-2 at Borough Briggs and reach the last eight of the SPFL Trust Trophy.
Raith Rovers booked their place in the quarter-finals with a 3-1 victory over East Fife at Stark's Park while Cove Rangers saw off Albion Rovers 4-1 at Balmoral Stadium, with all the goals coming in the last 11 minutes.
In today's other third-round tie, Morton beat Montrose 4-2 on penalties following a 0-0 draw at Links Park.
Quarter-final draw
Hamilton Academical v Kilmarnock
Inverness Caledonian Thistle v Raith Rovers
Cove Rangers v Alloa Athletic or Rangers B
Queen of the South v Morton
Ties scheduled for the midweek of November 30/December 1