RIO DE JANEIRO (CBS / AP) — The U.S. men’s basketball team has advanced to its third straight Olympic gold-medal game, beating Spain 82-76 on Friday.

Klay Thompson scored 22 points for the Americans, who will play Australia or Serbia on Sunday for their third consecutive Olympic title.

READ MORE: Belmont Police Say Missing Mother, Son Found Safe

The U.S. was just good enough again against Spain, winning a much different game than the all-offense matchups that decided the last two gold-medal games. This one featured several technical four and neither team got into an offensive flow. It was the lowest-scoring game for the Americans in the Olympics since the 2004 semifinals, when they managed 81 in a loss to Argentina.

READ MORE: Helicopter With 4 Aboard Crashes in Colusa County North of Sacramento

Kevin Durant added 14 points and Kyrie Irving had 13 for the U.S.

Pau Gasol scored 23 points for Spain, which made it tough on the Americans for the third straight Olympics, but again had to settle for coming close against the world’s No. 1 team.

MORE NEWS: McCarthy Jokes About Hitting Pelosi With Gavel If GOP Retakes House in 2022

© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.