Raith Rovers came from behind to defeat Kilmarnock 2-1 and reach the final of the SPFL Trust Trophy against Queen of the South on April 2/3.
Oli Shaw gave the hosts the lead from the penalty spot just before half-time but Ross Matthews equalised midway through the second half.
Aaron Arnott grabbed the winner with three minutes left with a penalty rebound after Kyle Benedictus had seen his kick saved by Sam Walker.