The Cook Islands sealed their first-ever World Cup victory with this success over Wales in Neath.
The Cook Islanders took command of the game heading into the half-time interval and soon added to their advantage with a try five minutes into the second half from second-row Dominic Peyroux.
But they then had to hold their nerve as the Welsh hit back at the Gnoll.
Lloyd White sneaked over for a try that he converted and a long cut out pass from Peter Lupton saw Christiaan Roets cross in the right corner.
Roets was stopped short on the right but after forcing a goal line drop out the Welsh were over again through Rhodri Lloyd to reduce the deficit to two points.
A Johnathon Ford high kick was spilled by Rob Massam, Dylan Napa handling on to Ford for a try that sealed the win despite Roets late consolation score for the Welsh.