Bolton Wanderers have squeezed past Blackpool 2-1 to qualify for the fourth round of the FA Cup.
David Ngog put the Trotters in front on 10 minutes when he bent a 20-yard effort into the top corner, before Tom Barkhuizen leveled on the stroke of half time.
It was Jermaine Beckford who scored the winner six minutes after the restart to give the home side their passage into the next round.
Alex Baptiste had a good chance a minute before the goal after he cut inside and forced Matthew Gilks into a save in the Blackpool goal.
Angel Martinez had an early chance when he fired a long-range effort that went close for Blackpool.
Andre Moritz had a long-range attempt of his own when he fired a 30-yard free kick after having an early shot saved by Gilks.
Thomas Ince shot wide from the edge of the box as the visitors tried to restore parity before before Barkhuizen eventually did with a goal in stoppage time that was originally ruled out.
Ngog turned provider after the restart when he teed up Beckford, who gave the hosts the lead 10 minutes after the break.
Bolton had goalkeeper Andy Lonergan to thank when he pushed away an effort from Ricardo Fuller before Chris Basham headed against the post.
Lee Chung-Yong went up the other end and hammered one against the crossbar as the game opened up in the final 15 minutes.
Lonergan was again called into action as he kept out Basham's header with seven minutes of normal time left.