Marcin Gortat hit big shots at the end of regulation and overtime, helping the Phoenix Suns end a three-game losing streak with an 84-83 victory over the Minnesota Timberwolves on Tuesday night.

Gortat hit a runner with 13 seconds left in regulation to send the game to overtime and scored on a hard drive with 45 seconds left in the extra period.

Derrick Williams followed with a 3-pointer that cut Phoenix's lead to 84-83 and Nikola Pekovic blocked Wesley Johnson's runner at the other end to give the Timberwolves a shot. Alexey Shved got a good look, but his layup rolled off the rim.

Gortat, Johnson and Markieff Morris had 14 points apiece. Jermaine O'Neal added 10 points and 13 rebounds for the Suns, who ended a four-game home losing streak.