Australia seized control in the first Test against Pakistan as Mitchell Marsh claimed the crucial wickets of Babar Azam and Imam-ul-Haq in rapid succession.
Nathan Lyon, on the verge of his 498th Test wicket, also played a key role in Pakistan's mini-collapse.
After the lunch of day three, Pakistan stood at 235-7, with Agha Salman unbeaten at 12 and Faheem Ashraf at nine, still trailing by 246 runs.
The day commenced with Pakistan at 132-2, having laid a solid foundation in pursuit of Australia's first-innings total of 487.
However, they encountered difficulties against Australia's formidable bowling attack.
Opening batsman Imam-ul-Haq, resuming on 38, and debutant Khurram Shahzad faced early challenges, with Shahzad succumbing after just two balls to a full and straight delivery from Pat Cummins.
Babar Azam, in his 50th Test, entered cautiously, contributing 21 runs, including a well-executed cover drive off Cummins.
Mitchell Marsh, however, made a decisive impact, dismissing Azam for 21 as wicketkeeper Alex Carey collected the edge.
This triggered a mini-collapse, culminating in Imam-ul-Haq's dismissal for 62, as Nathan Lyon returned to the attack and had him stumped.
Sarfaraz Ahmed managed only 3 runs before falling victim to Mitchell Starc's swinging delivery, losing his stumps in the process.
Hazlewood then delivered a precision ball to dismiss Saud Shakeel for 28, with David Warner taking a sharp catch at slip.
Pakistan facing a daunting task, trailing by 263 runs and grappling with the challenge of not having won a Test in Australia since 1995.