Australia captain Pat Cummins wishes the weather had been on his team's side after England frustrated their hosts to draw the fourth Ashes Test in Sydney.

James Anderson batted out the final over of the day – and the 102nd of England's second innings – at the Sydney Cricket Ground to ensure the tourists reached 270-9 at stumps and avoided a series whitewash.

With the Ashes already lost after a dismal opening three Tests, Joe Root's team performed resiliently to restore some pride heading into the final match in Hobart.

They relied on some good fortune, too. Rain delayed the restart in the second session on Sunday, further stalling Australia after they had clinched the important wicket of Zak Crawley (77), who became England's third-youngest opener to score a half-century in an away Ashes series, just before lunch. Rain also effected play earlier in the match.

Cummins, meanwhile, held on late to declare on day four despite Australia having built a towering lead, with Crawley and Haseeb Hameed only facing 35 minutes at the crease late on Saturday.

"Obviously, [we were] really keen [for the win]," Cummins said at the post-match presentation.

"But I think it was a great game of Test cricket, we got close. A bit less weather might have got us there but it was a really hard-fought match – that's why we all love it. We'd have loved to go up 4-0, but it was a good match.

"The weather forecasts are hopeless, I learned that this week. I think day four was meant to rain all day. I was ready to follow-on, we'd have had a full day of sunlight yesterday to bowl in."

Asked about his late declaration, Cummins added: "Being in a position to get up close to 400, I think we needed that.

"The wicket wasn't playing many tricks, we’ve got some class batters. Today was good fun, I felt really lucky to have genuine bowlers plus Smithy [Steve Smith] and Marnus [Labuschagne] to throw the ball to. It felt like we were right in with a shot."

Australia were led in the fourth Test by the magnificent Usman Khawaja, who marked his first appearance in their red-ball side since the 2019 Ashes series with a hundred in each innings.

He became just the third player to score a hundred in each innings of an SCG Test, and the first since former Australia captain Ricky Ponting in 2006, also against England.

"Two hundreds, no it can't [get much better]," Usman said.

"It was a terrific game. We'd have loved to win but it was a great game, a great fight from England, Test cricket at its best, right down to the wire. It could have gone either way – we couldn't ask for much more."

Khawaja has already said he does not expect to be in Australia's team for the final Test, with Travis Head expected to return from a coronavirus-enforced absence, but the 35-year-old knows he has a big role to play over the next 12 months.

"I'm enjoying the game, love the game. There's lots of ups and downs. I fully know I could go out next time I play and get two ducks, it's just the way this game is," he continued.

"That's why we love it. It's such a hard game. It's really satisfying. There's nothing harder that Test cricket, when you perform like that you know you've done something right.

"There's a lot of cricket coming up. Fingers crossed we stay healthy. The guys have played unbelievably before this game, 3-0 up. We couldn't have asked for much more from this series and hopefully the next game we can win that, and then win a few games away."