Conference side Kidderminster will take on Premier League Sunderland in the FA Cup fourth round after they claimed a 3-2 win over Peterborough in their replay at London Road.
Tommy Rowe gave Posh a first-half lead but two goals in four minutes after the break from Michael Gash and Jack Byrne turned the game on its head.
A Britt Assombalonga penalty levelled the scores with 16 minutes to go but parity lasted just two minutes as Joe Lolley grabbed a third for Harriers, who are now the only non-league side left in the competition.
Peterborough 2-3 Kidderminster
It was a glorious goodbye for match-winner Lolley, who is set to sign for Championship club Huddersfield on Wednesday.
Lolley's 76th-minute rocket came just two minutes after Posh had hauled themselves level and it secured a dream fourth-round date at Sunderland.
Thorn said: "That was the icing on the cake for Joe. He needed to do it as he gave the ball away in the lead up to Peterborough's penalty a couple of minutes earlier!
"It's the worst kept secret in the world that he is moving on but he has been absolutely fantastic for us."