Bury forced Shrewsbury to put their promotion party on hold as they claimed a 1-0 win in their crunch clash at Gigg Lane.
The second-placed Shrews came into the game knowing victory could clinch an immediate return to League One while fourth-placed Bury could still catch them.
After a tense first half, it looked as though it'd take something special to break the deadlock and Bury right-back Joe Riley provided it, firing in a superb 57th-minute winner.
The hosts made the early running in a hard-fought first half, with winger Danny Mayor's shot deflected over.
Riley then had to scramble the ball clear after Bury keeper Nick Pope spilled a Liam Lawrence free-kick while Shrews striker James Collins volleyed wide.
Just after half-time, Pope had to tip over a Bobby Grant shot, but shortly after Bury claimed a superb opener, Riley firing his first senior goal into the top corner from 30 yards.
The Shrews replied with Keith Southern and Mark Ellis going close, while Andy Mangan had a goal disallowed.
But Bury hung on to remain four points off League Two's top three, with the Shrews having a seven-point cushion.
League Two News
Sources: Barcelona's Gerard Pique was close to Notts County purchase
Barcelona defender Gerard Pique was "close" to putting together a deal to buy English club Notts County this summer, sources have told ESPN FC.
'No precedent' for Bury re-admission, says EFL
The Football League played down expelled Bury's hopes of gaining re-admission next season into League Two.
Brewster shines for Liverpool in Bradford win
Rhian Brewster proved he can thrive in attack under Jurgen Klopp as Liverpool beat Bradford City 3-1 in a preseason friendly.
Leyton Orient manager Edinburgh dies aged 49
Leyton Orient manager Justin Edinburgh died on Saturday aged 49, after suffering a cardiac arrest a few days ago.
Tranmere secure League One promotion
Tranmere Rovers needed extra time seal their second straight league promotion, defeating 10-man Newport County 1-0 in the League Two playoff final.
Premier League referee Mike Dean wildly celebrates Tranmere Rovers reaching Wembley
Referee Mike Dean is no stranger to the camera and on Monday night he found it again, this time in a game he wasn't even officiating...