League One Stevenage secured their place in the FA Cup fourth round by knocking out Championship strugglers Doncaster Rovers.
Francois Zoko fired Boro ahead from inside the area after the break.
Peter Hartley then headed in from a corner to double the visitors' advantage before Harry Forrester pulled a goal back with a left-footed strike.
FA Cup fourth round draw
Sunday, 5 January 2014
Cousins Martin and Paul Allen, who both played for West Ham, will make the draw after the Hammers face Nottingham Forest.
Fourth round dates:
Ties to be played over the weekend of 25 and 26 January 2014
Darius Charles fired in from inside the box to make it 3-1 before Liam Wakefield's late consolation strike.
Stevenage's victory means Doncaster, who are 22nd in the Championship, have now failed to win since beating QPR in a league game on 30 November.
Rovers started brightly, with Mark Duffy and Chris Brown going close.
But Stevenage ended the first half on top, with Luke Freeman and Marcus Haber having chances to put the visitors ahead.
And four minutes after the restart Zoko slotted Graham Westley's side ahead after a mistake by Doncaster defender Paul Quinn.
Boro then doubled their lead through Hartley's 65th-minute header before Forrester's 25-yard volley gave the hosts hope.
But inside the final minute of normal time they were caught on the break as Charles added the visitors' third goal, converting Zoko's right-wing cross.
Wakefield found the net soon after but it was too late for Rovers to score again and force a replay.
Check out a photo gallery from all of today's FA Cup fixtures on the
BBC Sport Facebook page.
Doncaster Rovers 01 Turnbull Booked 15 Wakefield 31 Stevens 17 Woods 02 Quinn 12 McCullough 07 Duffy 04 Furman Booked (Paynter - 56' ) 09 Brown (Bennett - 73' ) 06 Syers 11 Cotterill (Forrester - 56' ) Substitutes 08 Paynter 13 Maxted 14 Khumalo 21 De Val 23 Bennett 25 Forrester 30 Peterson Stevenage 16 Day 06 Jones 29 Hartley 24 Doughty 05 Ashton 04 Chorley 07 Morais (Andrade - 75' ) 13 Parrett (Wedgbury - 75' ) 19 Haber (Charles - 78' ) 12 Zoko 15 Freeman Substitutes 01 Arnold 02 Wedgbury 09 Charles 10 Burrow 11 Akins 20 Smith 25 Andrade
Ref: Scott Duncan