Updated

Klay Thompson had 20 points, including the go- ahead 3-pointer with 7.5 seconds left to lift the Golden State Warriors to an 87-83 win over the Sacramento Kings.

On the go-ahead bucket, the Kings double-teamed Stephen Curry beyond the left wing. He passed the ball to the high post for David Lee, who quickly swung it to a wide-open Thompson in the right corner and he nailed the jumper to give Golden State an 85-83 edge.

"It was a drag screen for Steph (Curry), (David) Lee was doing the pin down for me, he played the part well and he popped, then he found me right in the shooting pocket. All I had to do was catch and shoot," Thompson said.

Tyreke Evans drove down the lane on Thompson at the other end, but his layup attempt off the glass was too strong and Draymond Green sunk two free throws to seal the outcome for Golden State.

Lee finished with 17 points and 10 rebounds, while Curry was limited to 13 points, but dished out eight helpers for the Warriors, who have own two straight on the heels of a four-game skid.

Jason Thompson tallied 17 points and eight boards to lead Sacramento, which has dropped nine of its last 11 tilts.

"It was a big feather in our cap the way our group performed tonight," Kings head coach Keith Smart said.

The Warriors led 28-21 after a quarter of play, but Sacramento outscored them 23-13 in the second to take a 44-41 cushion into the break.

Isaiah Thomas' layup knotted the contest at 56-56 with less than four minutes to go in the third before the Warriors countered with a 9-0 spurt that propelled them to a 69-63 cushion heading into the final frame.

Curry's pull-up triple with 2:59 to go gave the hosts a four-point lead, but Sacramento answered as Thompson nailed a jumper and Patrick Patterson sunk a right corner trey for an 83-82 Kings edge with 1:25 left.

Game Notes

Patterson finished with 15 points and eight rebounds ... Harrison Barnes totaled 14 points for Golden State ... The Warriors were 25-of-29 from the foul line.