The Warriors transformed what would have been their worst, ugliest, flattest defeat of the season Tuesday into one of their most inspiring, scintillating comeback victories in many a year.

Would you believe 51 years, in fact? With 9:20 to go in the third quarter against the Toronto Raptors, the Warriors trailed by 27 points and were still behind by 18 entering the fourth quarter.

But behind the sharpshooting of Klay Thompson and Stephen Curry, a relentless defensive effort down the stretch and an Oracle Arena that sat on its hands for three quarters, then stood on its feet for almost all of the fourth, Golden State rallied for a miraculous 112-103 victory.

It was a firestorm of a final 12 minutes for Golden State -- 42-15. And it was historic. It was the largest deficit to start a fourth period the Warriors had overcome since Feb. 19, 1962, at Boston. Toronto, meanwhile, had never lost a lead as large as 27 in its franchise history. It was also the seventh-largest comeback in NBA history.

Numbers told only part of the story of what it meant, however.

"This being my third year here, there has not been a bigger win when you talk about statement," said coach Mark Jackson. "We had every right to fold the tent and say, `Let's look forward to the next one.' "

After halftime, during which veteran Jermaine O'Neal gave a fire-and-brimstone speech about not giving up, the Warriors were slow to start but then started to make some run attempts that the Raptors temporarily withstood.

But then Thompson and Curry found the range and it began to rain 3-pointers. Thompson nailed one at the outset of the fourth period to cut it to 15, and the team and the crowd suddenly seemed to sense something dramatic was about to happen. The surge was on.

"It shows what we're capable of, it shows that we're never out of it," said Thompson. "We were down 27, right? That's crazy to even think about."

Jackson didn't blame the Oracle crowd for being unusually sedate through the first three quarters.

"The crowd got quiet, and they were supposed to," the coach said. "We deserved for them to be quiet."

O'Neal, who provided 11 points and eight rebounds off the bench, was even more pointed.

"Ridiculous," he said. "We should have given our fans their money back after that first half of basketball. We should be ashamed with the way we played."

While Jackson purposely kept silent, an incensed O'Neal challenged the players in the halftime locker room to "show what we're made of" in the second half. With these kinds of results, the 17-year center-forward could be delivering a lot more sermons.

"We were all talking about it when we got in here, this was going to be a dark evening and a worse day tomorrow," said David Lee, who scored 18 points. "I'm just really proud of the team for coming back. This will be a victory that we remember."