James Harden had his third triple-double this season with 32 points, 13 assists and 11 rebounds to help the Houston Rockets snap a three-game skid with a 112-109 win over the Toronto Raptors on Friday night.
Houston squandered a double-digit lead early but opened the fourth quarter with a big run to take control.
Patrick Patterson scored five quick points to get Toronto within 110-107 with 10.1 seconds remaining, but Trevor Ariza made two free throws after that to secure the win.
It's Toronto's second straight loss overall and its ninth loss in a row in Houston, where the Raptors haven't won since 2007.
In the last few minutes, Toronto stars DeMar DeRozan and Kyle Lowry both get ejected for arguing with the officials.
DeRozan scored 18 points before being kicked out with about 3 minutes left.
(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)