Phil Dalhausser and Nick Lucena are through to the knockout stage of the Olympic beach volleyball tournament after an extra long victory over Italy.

The Americans won 21-13, 21-17, 24-22 on Thursday night to finish unbeaten in group play. They’ll wait for the drawing of lots to find out their opponent in the round of 16.

advertisement | advertise on newsday

The third set in a beach volleyball match is supposed to be up to 15 — but the team has to win by 2. The Italians fought off a half-dozen match points before the Americans nailed it down.

That left the United States with one men’s and one women’s team playing for a medal. April Ross and three-time gold medalist Kerri Walsh Jennings wrapped up pool play with a perfect record on Wednesday.