Stuart Broad has revived England's hopes of winning an enthralling opening Ashes test with a superb late burst just when Australia appeared to have taken the upper hand.
After bowling England out for 273 just before tea on the fourth day, Australia set about their 281 victory target in serene fashion but ended the day wobbling on 107 for three.
Australia's opener David Warner and first innings centurion Usman Khawaja looked rock-solid in putting on 61 before Warner edged a beauty from Ollie Robinson having made a fluent 36.
With England off-spinner Moeen Ali struggling with a cut hand, Broad then returned for a second spell to swing the momentum back towards the hosts.
Whipping the raucous crowd into a frenzy, he had world number one test batsman Marnus Labuschagne caught behind for 13, having removed him for a duck in the first innings.
Steve Smith (6) then edged another Broad delivery into the waiting gloves of England keeper Jonny Bairstow.
Khawaja, who scored his first century in England in the first innings, remained unbeaten at the close on 34 with night watchman Scott Bolan on 13 not out.
Rain is expected early on Tuesday before drier conditions and, with Australia requiring a further 174 runs and England needing seven wickets, a draw looks a remote possibility.
England 393/8d (Root 118 not out, Bairstow 78; Lyon 4/149) Australia 386 (Khawaja 141, Carey 66; Robinson 3/55) England 273 (Root 46, Brook 46; Cummins 4/63) Australia 107/3 (Warner 36, Khawaja 34 not out; Broad 2/28)
Reuters.