West Ham United struck in the closing seconds of both normal time and extra time to defeat a spirited Kidderminster Harriers team in the Emirates FA Cup fourth round.
The Irons looked set to finish on the wrong end of an enormous upset at Aggborough Stadium after Alex Penny stabbed home a loose ball after 20 minutes to put the National League North hosts into the lead.
West Ham struggled for fluency in regulation time but were inspired by the introduction of Declan Rice at half-time, the England international stamping his authority on the tie by driving into the box and smashing into the roof of the net in the first minute of stoppage time.
Then, just as a quiet additional 30 minutes looked set to yield penalty kicks, a deflected effort fell kindly for Aaron Cresswell, who teed up Jarrod Bowen to send the Hammers through from close range in the final seconds of an FA Cup fourth-round epic.