Inverness Caledonian Thistle played 30 minutes of extra time with nine men to eventually overcome Hearts 4-2 on penalties in the Scottish League Cup.
Jamie Hamill scored two second-half free kicks to cancel out Greg Tansey's opener for the visitors, who had Greg Warren and Josh Meekings sent off.
However, with the game in stoppage time Nick Ross netted ICT's second to take the game to extra time.
Ross Draper spurned a golden chance for Inverness early on when he blazed over inside the penalty area.
Tansey scored the opening goal when he rifled home an effort from outside the box for the visitors after 53 minutes.
Callum Paterson missed a good chance for the equaliser just after the hour mark when he was thwarted by Dean Brill after going through one-on-one with the goalkeeper.
Warren was given a red card after he brought down Sam Nicholson on the edge of the box, before Hamill netted the equaliser from the resulting free kick.
Five minutes later Hearts were in front as Hamill grabbed his second of the afternoon with another free kick, this time from all of 25 yards.
Meekings was given his marching orders in stoppage time as the visitors finished the game with nine men, with Ross levelling to send the tie to extra time.
The depleted ICT side held on for half an hour of extra time before overcoming the home side 4-2 on penalties.
No Data Analysis info