San Antonio Spurs guard Manu Ginobili reacts after sinking the game winning shot against the Golden State Warriors in the second overtime period during Game 1 of their NBA Western Conference Semifinals basketball playoff series in San Antonio, May 6, 2013. (REUTERS/Tim Sharp)

SAN ANTONIO — Manu Ginobili hit a 3-pointer with 1.2 seconds remaining in the second overtime, and the San Antonio Spurs rallied for an improbable 129-127 win over the Golden State Spurs in Game 1 of the Western Conference semifinals Monday night at the AT&T Center.

Down by 16 with four minutes left in regulation, the Spurs went on an 18-2 run. Danny Green’s 3-pointer tied up the game at 106 and sent it to overtime.

Ginobili had a chance to put the game away in the second overtime, but he missed on a 27-foot 3-pointer with 45 seconds remaining and San Antonio up 126-123. Golden State came back and took a 126-125 lead on a Kent Bazemore layup with 3.4 seconds to go.

Then Ginobili stepped back and dropped the shot as the sell-out crowd erupted.

It was a miracle comeback for San Antonio, which was down by as many as 18 points and witnessed Stephen Curry’s third-quarter performance for the ages.

Curry hit nine of 12 shots from the field and four of six from 3-point range, scoring 22 points in the quarter en route to 44 on the night. The Warriors seemingly had the game in hand.

San Antonio, which trailed most of the game, cut the lead to one with 9:50 left in the third on a Leonard dunk.

Then Curry took over, outscoring the Spurs himself 16-2.

By the end of the third, he had connected on 14 straight points, hitting layups and long-range bombs with ease. He silenced the crowd of 18,581 and left his teammates on the bench shaking their heads in disbelief. And the Spurs with no answers.

Curry also had 11 assists, four rebounds and six turnovers in 58 minutes.

Klay Thompson added 19, Harrison Barnes 19, Jarrett Jack 15, and Draymond Green 10 for the Warriors. Andrew Bogut had 10 points and 15 rebounds as Golden State continued its losing streak in San Antonio.

The Warriors have lost 30 straight on the Spurs’ home court. It is the longest current losing streak in the NBA, dating back to February 14, 1997, which was three months before Duncan was drafted.

NOTES: The Warriors have faced off against the Spurs only once before in the playoffs. As a seventh seed, Golden State defeated the second-seeded Spurs 3-1 in best-of-five, first-round matchup in 1991. ... Even though LeBron James was named MVP on Sunday, two Spurs got votes. Parker finished fifth, and Duncan was seventh. It was the first time that two Spurs placed in the top 10 since 1997. ... The Warriors and Spurs split the regular-season series 2-2, with each team winning its home games.