The Spurs are one victory away from their fifth NBA championship after punishing the Heat in Game 5 of the NBA Finals Sunday at the AT&T Center.

The series shifts to Miami for Game 6, where the Heat will attempt to become only the eighth team in NBA history to recover from a 3-2 deficit in the Finals after the series was deadlocked.

The Spurs raced out to a 17-point lead in the first half, then slapped the Heat back with a 19-1 run after their advantage was cut to one late in the third quarter. Miami gave the Spurs a scare down the stretch, but it wasn’t enough to salvage the victory despite forcing 19 turnovers.

That had been an almost infallible indicator of success for the Heat, who fell to 43-4 this season when forcing at least 16 miscues.

Manu Ginobili had 24 points and 10 assists in his first start since last year’s postseason, while Danny Green continued his torrid shooting with six more 3-pointers. He has 25 in the series, breaking Ray Allen’s Finals record of 22. He finished with 24 points, and Tony Parker had 26 as the Spurs’ starters accounted for 107 points.