Alex Lowry scored a dramatic stoppage-time winner as Heart of Midlothian beat Kilmarnock 2-1 in the first of the Viaplay Cup quarter-finals at the BBSP Stadium, Rugby Park.
Jorge Grant gave Steven Naismith's side the lead with a fine finish just before half-time but Brad Lyons headed home the equaliser in 68 minutes.
Extra-time was looming when Lowry sent Hearts through to the last four on November 4/5.