Bradford City inflicted Wigan Athletic's first home league defeat since March with a thoroughly-deserved 2-1 victory at the DW Stadium.
The visitors went ahead after 14 minutes when Charlie Wyke bundled the ball home from close range for his eighth goal of the season.
Wigan almost levelled immediately when skipper Sam Morsy saw a curling shot cleared off the line.
But the equaliser did arrive after 24 minutes when centre-back Chey Dunkley powered the ball home from a left-wing corner.
Wigan suffered a blow when they lost star man Nick Powell before the half-hour mark, the ex-Manchester United man limping off to be replaced by Gary Roberts.
And Bradford quickly regained the ascendancy with Wyke heading against the bar - via a slight touch from goalkeeper Jamie Jones.
The second half was end-to-end stuff with both sides pushing for as winner.
It looked like it would end all square but, deep into stoppage-time, Tyrell Robinson - an 85th-minute substitute - drove home from the edge of the area, with Jones powerless to keep it out.