Teenager Harrison Bettoni scored the winning goal for League One side Wigan Athletic in their FA Cup third-round victory against Championship promotion-chasers Preston North End.
A match short on goalmouth action for long periods was settled with 15 minutes remaining when Bettoni cut inside from the right wing and his left-footed strike deflected into the net off Andrew Hughes.
The Latics missed a glorious opportunity to double their lead when Callum Wright cleared the crossbar with a penalty, following Pol Valentin's foul on Maleace Asamoah inside the area.
But Wright's failure from the spot did not cost his team, who ensured a winning return to Deepdale for Wigan's ex-Preston boss Ryan Lowe.
Their success was not without late drama, though, as goalkeeper Sam Tickle made an exceptional save to keep out Alfie Devine's glancing header and Brad Potts - who turned home the rebound - was judged to be offside.
Wigan, FA Cup winners in 2013, had required penalty shootouts to get past non-league Hemel Hempstead Town and fourth-tier Barrow in the first two rounds but Bettoni's winner meant they avoided that eventuality against a North End team 35 places above them in the league pyramid.
Preston boss Paul Heckingbottom made seven changes to the starting XI that beat Bristol City 2-0 on Sunday but his side, FA Cup quarter-finalists last season and currently fourth in the Championship, struggled for attacking rhythm throughout.
Milutin Osmajic, Michael Smith and Devine were sent on from the bench before Bettoni's goal and the latter forced Tickle into his only two saves of note during the match.
Wigan went close to an opener twice in the first 15 minutes, with Wright guiding Joe Hungbo's first-minute cross just past the far post and Dara Costelloe sending his effort wide after being put through on goal by Bettoni.
Once they had gone in front, substitute Asamoah provided a threat up front and he was denied a goal of his own by Preston goalkeeper Daniel Iversen after his pace had taken him away from the hosts' defence.