The freezing Yorkshire fog got worse throughout the 90 minutes
Wigan Athletic kept their heads to see off York City and deservedly reach the third round of the FA Cup.
Against a team ranked 53 places below them, Stephen Humphrys hit the only goal of the game for the League One side.
But they were taken all the way by Neal Ardley's National League hosts, who wasted their best chance in the dying minutes through Lenell John-Lewis.
The 2013 cup winners last lost to non-league opposition in 2020, to neighbours Chorley - but there was to be no repeat.
- York cup TV date can capture imagination - Ardley
York had twice come up against the Latics previously in the FA Cup - and had lost both, in the first round in 1977-78 and second round in 1997-98.
And, in a game increasingly dominated by the thickening fog rolling in across the Vale of York, this one went the same way as the Latics always looked the likelier to edge it.
Humphrys went close with a good turn, angled run and low first-half right-foot shot that brought a diving save low to his right from veteran keeper David Stockdale, who then bravely saved again from the Wigan top scorer.
York did have one late first-half penalty handball shout turned down and a menacing run down the left, which ultimately came to nothing from Thierry Latty-Fairweather.
It took until the 61st minute for the Latics to make the key breakthrough as former Brighton and Wycombe keeper Stockdale, hero of York's fortunate first-round replay win over sixth-tier Chester, was finally beaten.
Defender Tyler Cordner completely mistimed an attempted clearing header from on-loan Arsenal player Omar Rekik.
It left Humphrys in the clear - and the Wigan forward glided forward to coolly round keeper Stockdale and slide left-footed into the unguarded net for his ninth goal of the season.
There was no way back, especially when John-Lewis, two-goal matchwinner in the previous round, fluffed their best chance, heading wide in the last minute. And the hosts could find no more in the nine minutes of added time.
- Line-upsMatch StatsLive Text
Line-upsYork
Formation 5-3-2
13Stockdale2Fallowfield15Howe5Cordner19Daley36Latty-Fairweather6McLaughlin30Woodyard8Dyson20Burgess14John-Lewis
- 13StockdaleBooked at 70mins2FallowfieldBooked at 79mins15Howe5Cordner19DaleySubstituted forSizibaat 74'minutes36Latty-Fairweather6McLaughlinSubstituted forKouhyarat 74'minutes30WoodyardBooked at 90mins8Dyson20Burgess14John-Lewis
Substitutes
- 4Duckworth11Kouhyar21Kennedy23Siziba35Watson39Green
Wigan
Formation 4-2-3-1
1Tickle7Clare6Hughes23Rekik3Pearce26Adeeko21Smith17Godo19Lang14Jones11Humphrys
- 1Tickle7Clare6Hughes23Rekik3PearceSubstituted forMcHughat 85'minutes26Adeeko21Smith17GodoSubstituted forSmithat 90+8'minutes19LangSubstituted forShawat 90+3'minutes14JonesSubstituted forMcManamanat 86'minutes11HumphrysSubstituted forMagennisat 90+4'minutes
Substitutes
- 2Watts12Amos16Shaw18Smith20McManaman22Sze25Stones28Magennis42McHugh
Referee:Thomas KirkAttendance:6,613Match StatsHome TeamYorkAway TeamWiganPossessionHome38%Away62%ShotsHome11Away13Shots on TargetHome2Away5CornersHome5Away2FoulsHome11Away5Live Text Post update
Match ends, York City 0, Wigan Athletic 1.
90'+12'Full Time
Second Half ends, York City 0, Wigan Athletic 1.
90'+9'Post update
Attempt missed. Callum McManaman (Wigan Athletic) left footed shot from a difficult angle on the left is too high. Assisted by Scott Smith.
90'+8'Post update
Delay over. They are ready to continue.
90'+8'Substitution
Substitution, Wigan Athletic. Jonny Smith replaces Martial Godo because of an injury.
90'+6'Post update
Delay in match because of an injury Martial Godo (Wigan Athletic).
90'+5'Booking
Alex Woodyard (York City) is shown the yellow card for a bad foul.
90'+5'Post update
Martial Godo (Wigan Athletic) wins a free kick in the attacking half.
90'+5'Post update
Foul by Alex Woodyard (York City).
90'+4'Substitution
Substitution, Wigan Athletic. Josh Magennis replaces Stephen Humphrys.
90'+3'Substitution
Substitution, Wigan Athletic. Liam Shaw replaces Callum Lang.
90'+3'Post update
Attempt missed. Lenell John-Lewis (York City) header from the centre of the box is high and wide to the right. Assisted by Maz Kouhyar with a cross.
90'+1'Post update
Corner, York City. Conceded by Callum McManaman.
90'Post update
Foul by Callum Lang (Wigan Athletic).
90'Post update
Thierry Latty-Fairweather (York City) wins a free kick on the left wing.
90'Post update
Attempt missed. Lenell John-Lewis (York City) header from the centre of the box misses to the left. Assisted by Olly Dyson with a cross.
88'Post update
Corner, Wigan Athletic. Conceded by David Stockdale.
88'Post update
Attempt saved. Callum McManaman (Wigan Athletic) right footed shot from the left side of the box is saved in the bottom right corner. Assisted by Harry McHugh.
88'Post update
Attempt blocked. Stephen Humphrys (Wigan Athletic) right footed shot from the right side of the box is blocked. Assisted by Callum Lang.
87'Post update
Corner, York City. Conceded by Sam Tickle.
Page 1 of 5rewindpreviousNavigate to the next pagenextNavigate to the last pageforward
Source: bbc.com