Raith Rovers created a Scottish Cup upset by beating Rangers 2-1 in a fifth-round tie at Ibrox on Sunday afternoon.
Grant Murray's men can now look forward to Monday afternoon's quarter-final draw after overcoming their Championship rivals.
Ryan Conroy gave Raith the lead direct from a free-kick early in the second half but Haris Vuckic, on loan from Newcastle, equalised just after the hour mark.
Christian Nade grabbed the winner 15 minutes from time when he forced Grant Anderson's cross into the net from close range.