MINNEAPOLIS (AP) — Trey Burke scored a career-high 32 points to go with nine assists and seven rebounds and the Jazz avoided the worst record since moving to Utah 35 years ago with a 136-130 double overtime victory over the Minnesota Timberwolves in the season finale Wednesday night.

Gordon Hayward had 23 points, 10 rebounds and nine assists, and Derrick Favors added 21 points and 12 boards for the Jazz, who would have tied the worst record since the team relocated in 1979 with a loss. They also snapped a five-game losing streak and won for just the fourth time in their last 25 games.

Kevin Martin scored 36 points for the Timberwolves, who missed a chance to finish with their first non-losing record since 2005. Kevin Love scored 19 points on 4-for-15 shooting in what could be Rick Adelman's last game as an NBA coach.

More From KOLM - 1520 The Ticket