Joe Burns and Travis Head plundered Australia's first centuries of the home summer Friday in a stirring fightback as they ruthlessly exposed Sri Lanka's inexperienced attack in the second Test at Canberra.
Australian skipper Tim Paine won the toss at the Manuka Oval and put his side in on a flat track conducive to batting, a gambit that paid off after some early wobbles.
At stumps, they were a commanding 384 for four with Burns not out 172 and Kurtis Patterson, who was dropped first ball, on 25.
Head fell for 161 after a 308-run stand with Burns -- Australia's first stand over 200 since Steve Smith and Mitch Marsh achieved the feat in the third Test against England in December 2017.
Vishwa Fernando was the best of the bowlers with 3-99.
On a cool, overcast day, Burns and Head dug Australia out of a hole after they lost Marcus Harris, Usman Khawaja and Marnus Labuschagne cheaply to be in trouble at 28 for three.
After weathering the storm and as the new ball lost its shine, the pair started cashing in on a Sri Lankan attack missing their top bowlers and fieldsmen who put down a host of chances.
Back in the side after being overlooked for the series against Pakistan and India, opener Burns survived a dropped catch on 34, but was otherwise invincible and brought up his fourth Test ton off 147 balls with a single.
His 172 surpassed his previous high score of 170 against New Zealand in 2016.
Burns' knock was the first century for Australia since Khawaja's 141 against Pakistan in Dubai in October and only the second an Australian has scored since the fifth Ashes Test in Sydney almost 13 months ago.
Vice-captain Head soon followed suit, reaching his maiden hundred off 155 balls in his eighth Test with a boundary, capitalising on Dilruwan Perera dropping him on 87.
It puts the pair in prime position to be selected for the Ashes series later this year, with the Canberra Test -- the first-ever in the nation's capital -- Australia's last before their tour of England.
Their partnership followed a dire start against a depleted attack and a team they had beaten by an innings and 40 runs in the first Test at Brisbane.
Pace duo Lahiru Kumara and Dushmantha Chameera picked up injuries in that rout, with the inexperienced Kasun Rajitha and Fernando taking their place.
And in a big blow, Suranga Lakmal, their best bowler in Brisbane, was ruled out on the morning of the Test with a stiff back, with debutant Chamika Karunaratne brought in as his replacement.
The three newcomers have only five Tests of experience between them, and they initially rose to the challenge.
Harris fell for 11 in the fourth over with a poorly executed square drive off Fernando caught at point by Karunarante.
The out-of-form Khawaja soon followed, lasting just three balls before offering a lazy jab at an out-swinger from Fernando. He was caught at slip by Kusal Mendis for nought, leaving Australia on 15 for two.
The gloom continued when Karunaratne struck with his fourth ball in Test cricket, removing Labuschagne with an excellent angled delivery for six, caught off a thick edge by Niroshan Dickwella.
Burns watched the carnage at the other end and dug in, playing only the loose balls as he bided his time and waited for the bowlers to wilt.
Head followed a similar pattern with both men accelerating the run rate once the pressure of scoring centuries was past. Head was finally undone by Fernando, who snared him lbw.