Mike Hussey was run out for 25 in what could be his final Test innings but Australia moved into a first-innings lead on day two against Sri Lanka in Sydney.
Hussey, who was given a guard of honour by Sri Lanka's players as he made his way to the crease in his farewell appearance before retiring, failed to beat Dimuth Karunaratne's direct hit from cover on a day that saw Australia close on 342-6 in their first innings, an advantage of 48.
Having bowled out Sri Lanka for 294 on the opening day of the final Test, David Warner and Phil Hughes led the way in reply with a second-wicket stand of 130 after Warner's opening partner Ed Cowan (4) had been run out in the sixth over, hesitating over a second run.
Both fell to spin with centuries in sight, Warner for 85 after giving Tillakaratne Dilshan (1-58) the charge and skying a catch to a back-pedalling Dhammika Prasad and Hughes, on 87, edged behind attempting to cut a delivery from Rangana Herath (2-69).
Michael Clarke and Hussey saw Australia through to tea on 241-3 before Clarke's optimistic call for single brought about Hussey's demise.
Left-arm spinner Herath claimed the wicket of Clarke for 50 and Mitchell Johnson (13) also went before the close, caught behind off seamer Nuwan Pradeep (1-83).
Matthew Wade rode his luck; he was dropped, survived an appeal for a catch which was ruled not out for a no-ball and had to resort to the DRS himself to overturn a decision that he had been caught, all while he was on 22.
Wade had reached 47 not out at stumps, with Peter Siddle unbeaten on 16.
Australia already hold an unassailable lead in the three-match series after wins in Hobart and Melbourne.