Tonga have survived a pulsating Rugby League World Cup group-stage finale to defeat Samoa 20-18 at CommBank Stadium in Parramatta on Sunday night, setting up a semi-final showdown with New Zealand. The result also confirmed that Australia will face Samoa in the other last-four clash, scheduled for Sunday at Sydney's Allianz Stadium, while Tonga travel to Newcastle's Hunter Stadium to meet the Kiwis on Saturday.

The match was everything the capacity crowd had hoped for, with a wall of red and blue filling the stadium and producing an atmosphere that crackled from the opening set. In the end, Tonga prevailed not by outscoring their Pacific rivals on tries, but by winning the battle of the boot.

Goal-kicking the difference in a four-tries-to-three thriller

Samoa crossed for four tries to Tonga's three, yet it was Isaiya Katoa who proved the decisive figure with an immaculate kicking display: three conversions from three attempts and a first-half penalty goal. His Samoan counterpart Chanel Harris-Tavita had a painful evening with the boot, missing three conversions before being forced from the field in the second half after grabbing at his hamstring following one of those misses. Replacement Ronald Volkman slotted Samoa's only successful conversion late in the piece, but it was not enough.

Robert Toia was named player of the match after a commanding performance at centre. He drew first blood by scoring the opening try in the 26th minute, a play set up by some brilliant work from Haumole Olakau'atu, and added a physical edge throughout that set the tone for Tonga's performance. Katoa's penalty goal shortly after extended the lead before Samoa hit back just before the break, with winger Brian To'o finishing off a sharp Stephen Crichton offload to make it 8-4 at half-time.

Second half swings back and forth before Fonua-Blake seals it

Tonga re-established their advantage early in the second half when Jojo Fifita dived over after a Samoan error, having been denied by the bunker in the first half for losing the ball just short of the line. But Fifita's night unravelled quickly as he then gave the ball away, and Samoa seized the momentum.

To'o grabbed his second try in the 50th minute off another fine pass, this time from Harris-Tavita, before Hamiso Tabuai-Fidow finished off a stunning team try in the 63rd minute. Five minutes later, Volkman muscled his way over to put Samoa in front, and his conversion extended the Samoan lead to four points. It looked like the men in blue were poised to advance.

But with seven minutes remaining, Addin Fonua-Blake provided the moment the Tongan faithful had been waiting for. The giant prop powered through a tired tackle from Spencer Leniu, who had a difficult evening overall, to level the scores. Katoa then converted to hand Tonga a slender two-point lead that would ultimately prove enough.

Samoa had one final opportunity to steal the result when winger Sua Fa'alogo appeared to dive over in the dying seconds, but replays confirmed he had put a foot on the touchline before crossing. The bunker's decision was final and Tonga had their win, sparking wild celebrations throughout the stands.

Kangaroos learn semi-final opponents as World Cup picture takes shape

The result confirmed the full men's semi-final draw for the Rugby League World Cup. Tonga, reaching the last four for just the second time in their history, will take on New Zealand next Saturday in Newcastle. The following evening, Australia, the reigning world champions, will host Samoa at Allianz Stadium in Sydney on Sunday night.

Both semi-finalists exited Sunday's contest with genuine belief they can go deep in the tournament. Samoa, despite the defeat, showed they have the firepower to trouble the Kangaroos, particularly through To'o's brace and Tabuai-Fidow's electric finishing. Tonga, meanwhile, will carry enormous confidence after coming from behind to beat their fiercest rivals.

The match capped a dramatic triple-header at Western Sydney Stadium that also saw Lebanon defeat France in golden point to wrap up the group stage, the two men's games providing a stark contrast to the earlier record-breaking result in which the Jillaroos defeated Wales by 124-6. On the women's side, Australia will meet Fiji in their semi-final on Sunday, with New Zealand and Samoa squaring off on Saturday evening in Newcastle.

For Tonga, the emotion at the final whistle reflected how much this fixture means. The crowd heard the celebration before they saw the conversion sail through the posts, and in a tournament that has produced several lopsided scorelines during the group stage, Sunday night's double-header delivered the kind of drama that the knockout rounds promise to continue.