Australia's men's water polo team has defeated Greece 13-8 to advance to the Olympic quarter-finals.
The Sharks gradually took control of the game before half-time and in the end cruised to what was their second victory of the tournament in London.
Australia had been languishing in fifth after a solitary victory over Kazakhstan, but the win saw them shoulder Greece out of the fourth and final qualification spot.
Australia will take on Serbia, who topped Group B, in the final eight.
The Sharks' win comes a day after the women's team, the Stingers, forced their way into the semi-finals with a shoot-out win over China.
Rhys Howden top-scored for Australia with three goals, while Billy Miller, Jamie Beadsworth and Richie Campbell all had doubles.
Sharks coach John Fox said a frank discussion among the players about their performance had the team focused to produce their best in the must-win Greece encounter.
"We went through situations and we were very critical of each other. Even we, the coaches, were criticised," he said.
"We accounted for every single goal we've let in this tournament.
"It was a painful process, but it's paid off today as the players said it should never happen again."
Greek coach Dragan Andric admitted the pressure of the do-or-die game might have got to his team.
"Australia have shown how a team should fight," he said.
"It seems every single shot from the Australians went in our goal. We didn't take our chances.
"It seems we are paying the price for being absent from big competitions for a long time."
Croatia went through unbeaten from their pool, though it was regarded as the easier of the two groups.