Australia and England drew the first Ashes test on Monday but the tourists will claim a moral victory after Alastair Cook dominated the last two days with an unbeaten double century to rescue a match that had looked lost.
Cook, who was unbeaten on a career-high 235, and Jonathan Trott, who was 135 not out, had built a record partnership of 329 when captain Andrew Strauss declared England's second innings closed at 517-1 before tea.
Australia, who were 296 runs behind, lost Simon Katich before the break but skipper Ricky Ponting, who hit 51 for his 56th test half century, and opener Shane Watson (41) ushered the hosts safely through the remaining overs to finish on 107 for one.
"It's been a very special couple of days for me, the wicket got better and better and it was just a matter of applying myself and not making any mistakes," said Cook, whose innings was the highest at the ground beating Don Bradman's 226 against South Africa in 1931-32.
"It's been a really good performance to come back from where we were. When you are so far behind you have to bat a lot of overs just to get back in the game."
Cook and Trott completely dominated the first two sessions of the day in front of a sparse fifth day crowd at the Gabba, where England supporters were more numerous and much louder.
Their disciplined partnership bettered the 307 Mike Hussey and Brad Haddin achieved to put Australia firmly in charge on Saturday and the 188 Cook and Strauss, who made 110, managed on Sunday.
It was the highest stand by Englishmen in Australia, beating the 323 achieved by Jack Hobbs and Wilfred Rhodes on the 1911/12 Ashes tour.
"The resilience to come back from the dire position in day three speaks volumes," said Strauss. "We've proved over a little while now that we're a difficult team to beat."
The "Barmy Army" were at their noisiest just before lunch when the 25-year-old Cook clipped the ball behind square to become the fourth England player to score an Ashes double century in Australia.
They were back on their feet minutes later when Trott pushed a shot through leg side and scuttled for three runs, leaping into the air in jubilation as he raced to safety and his fourth test century.
Australia's bowlers continued to struggle in the baking sunshine with the one cast-iron chance they had of separating the England batsman before lunch spilled in the slips.
All-rounder Watson, the pick of Australia's bowlers, carved out the opportunity when Trott was on 75 but Michael Clarke could not hold on to a simple catch.
Ponting thought he had caught Cook out on 209 but the umpires conferred and decided the ball had been grounded and he missed a difficult slip catch when the Englishman was on 222.
"There were concerns for sure," Ponting said. "I don't think we bowled as well as we possibly could in the second innings.
"We had a chance to really stake a claim to win the game at the start of their second innings and we weren't able to do that."
Aussies focus on pace before 2nd Test
Australia called up two more quick bowlers in Ryan Harris and Doug Bollingerto their squad for the second Ashes test as they continue to search for the killer touch that again eluded them in the first test at the Gabba on Monday. The second test at Adelaide begins Friday.