HOUSTON 
James Harden finally beat his former team on Wednesday night.

It took the best game of his career to get it done.

Harden scored a career-high 46 points and Jeremy Lin added 29 as the Houston Rockets mounted a furious fourth-quarter comeback for a 122-119 victory over the Oklahoma City Thunder.

"I just told the guys on the court that we've got to do whatever it takes, we've got to get some stops together and make some shots," Harden said. "It's not going to be easy, they're a very good team. But we got some stops at the right time and guys made good shots."

Houston was down by 14 points with about seven minutes left. The Rockets used a 21-4 run to erase the deficit and take a 114-111 lead with 1:46 remaining. Harden stepped back under heavy pressure from Serge Ibaka to sink a 3 to tie it, before Lin connected on one seconds later to give the Rockets their first lead of the second half.

Harden, traded from Oklahoma City to Houston before the season, made a bucket before Ibaka made two free throws. Then came another 3 by Lin to extend the lead to 119-113.

A 3-pointer by Russell Westbrook got Oklahoma City within three points, but Lin made one of two free throws to secure the win.

It was Houston's first win this season over the Thunder, who won both previous meetings, including a 30-point win in the last matchup. The loss extended Oklahoma City's skid to three games.

"He's a phenomenal offensive force," Houston coach Kevin McHale said of Harden. "He can drive it. He's got the ability to shoot it ... to beat you off the bounce. I think he's almost unguardable off the catch."