Oakland, California: Golden State’s Harrison Barnes hit a running shot in the lane with less than a second remaining, lifting the NBA-leading Warriors to a thrilling 107-106 win over Phoenix on Thursday.

Elsewhere, Houston notched a critical win over Texan rivals Dallas, while Miami lost Dwyane Wade to injury in a bad loss to Cleveland.

Phoenix went ahead against Golden State when Eric Bledsoe broke free for a reverse layup with 4.5 seconds to play, shortly after Stephen Curry had hit a 3-pointer to put the Warriors in front.

There was still time for Barnes to hit the dramatic winner and extend Golden State’s winning streak to 11 games.

The Suns are now 4-1/2 games behind Oklahoma City, who are eighth in the Western Conference.

Houston won 108-101 at Dallas to move half a game ahead of Memphis in the fight for the No. 2 seed in the West behind Golden State.

James Harden scored 24 points and former Dallas guard Jason Terry hit a tiebreaking 3-pointer for the Rockets.

Dirk Nowitzki’s 21 points led the Mavericks, who seem destined for seventh in the West, leading Oklahoma City by 3-1/2 games.

Miami star Wade went down with a knee injury in the first half, and the Heat’s play-off chances took another major blow with a 114-88 loss against Cleveland.