DeMarcus Cousins had 27 points and 19 rebounds, helping the Sacramento Kings rally to beat the Phoenix Suns 107-104 on Tuesday night.

Rookie Ben McLemore had a season-high 19 points, Isaiah Thomas also scored 19, Greivis Vasquez added 11 and Patrick Patterson 10 for the Kings, who had lost seven of their previous eight. Sacramento scored the game's final 10 points in a run that was aided by three straight Phoenix turnovers in the closing minutes.

Gerald Green scored 23 points and Marcus Morris had 19 for the Suns, who lost their third straight. Phoenix's five losses this season have been by a total of 16 points. Channing Frye added 17 points and nine rebounds, and Archie Goodwin scored 16 points.

Morris missed a corner 3-pointer and Cousins grabbed the rebound and made 1 of 2 free throws with just under a second left to preserve the Kings' victory.