Australia captain Michael Clarke scored a brilliant unbeaten double century to give the hosts a remarkable 37-run first innings lead on the fourth day of the first test against South Africa on Monday.
Supported first by a maiden century from opener Ed Cowan in a record stand of 259, and then by Mike Hussey's 86 not out, Clarke's 218 helped lift Australia from 40 for three when he took to the crease on Sunday to 487 for four at stumps.
It was Clarke's sixth test century, and his third double hundred, in the 15 tests since he was named captain last year in the wake of the Ashes humiliation and Australia's quarter-final exit at the World Cup.
Although by no means a chanceless knock, the 31-year-old played with patience when South Africa's much vaunted pacemen got anything out of the Gabba track before punishing anything loose with some fine shot-making.
When he carried his bat back to the pavilion at the end of the day to the raucous cheers of a sparse crowd at the famous Brisbane ground, Clarke had faced 350 balls over 504 minutes and scored 21 fours.
"I'm very happy with that," Clarke, who accumulated his 1000th test run of the year during the innings, said.
"We're in a great position with a 30-odd lead. I'd like another 70 odd runs in the morning and then I want to have a crack with the ball. We'll see what happens."
Cowan departed for 136 in heartbreaking fashion just before tea, run out at the non-striker's end when Dale Steyn got a finger to a Clarke drive that hit the stumps and the opener was caught out of his crease backing up.
His partnership with Clarke was an Australian record for the fourth wicket at the Gabba, beating the 245 Clarke and Mike Hussey made against Sri Lanka in 2007.
Cowan's wicket was the only wicket to fall on the day and Hussey started pouring on the runs as if determined to get the record back for his own partnership with his captain.
The 37-year-old bucked his poor recent form against South Africa by reaching his half century off just 68 balls with a drive through long-off, and was closing on a century of his own when play ended.
Hussey's cut four off Morne Morkel took Australia past South Africa's first innings tally of 450 and gives the hosts an unlikely chance of winning a test which lost an entire day to rain on Saturday.
"We're going to need to maximise our time to have a chance of bowling South Africa out," Clarke added.
"We're going to need a lot of things to go our way as well. It's worth having a crack at trying to win."
Clarke's negotiation of the "nervous nineties" for his century had been fraught and he was nearly run out going for a second run that would have brought him to the hundred mark.
There were no such jitters on his approach to the 200 mark, which he passed by slapping the ball through mid-on for two runs before giving the badge on his helmet another kiss.
Cowan's century was a retort to those critics who have consistently questioned his place in the team since he made his debut in last year's Melbourne test against India.
The 30-year-old left-hander reached the mark two overs after lunch by pulling a short Vernon Philander delivery for four to the square leg boundary, beginning his joyous celebrations before the ball hit the rope.
South Africa's No 1 test ranking is on the line in the series, which continues with matches in Adelaide and Perth after Brisbane.
Bowling coach Allan Donald reflected on a disappointing day after which Steyn, the world's top-ranked bowler, had figures of 1-109 and the attack combined to send down 22 no-balls.
"You see Michael Clarke walking down those stairs last night at 40-3 and you start thinking ... that it could for 80-5 or 90-5 overnight and to be fair, they played well," he told reporters.
"There's no excuses for (the no-balls) ... it's not that we have to tell these guys who are professional cricketers and playing at the highest level that they need to get their feet behind the line."