Dirk Nowitzki scored a season-high 40 points and the Dallas Mavericks beat the Utah Jazz 102-96 on Saturday night to snap a four-game losing streak.
Nowitzki scored 10 points in the fourth quarter as the Mavericks turned away a late rally by the Jazz, who sliced a 23-point deficit down to five points.
Dallas forward Lamar Odom played for the first time after missing four games because of a family matter and personal reasons.
Odom was supposed to play Saturday night in the NBA Development League. Instead, he was recalled to play against the Jazz and scored nine points in 18 minutes.
Paul Millsap scored 24 points and Derrick Favors added 14 points for Utah, which beat the Miami Heat 99-98 on Friday night.
Jason Terry scored 22 points as the Mavericks won the first time since Feb. 20.
Dallas had been in an offensive slump before Saturday night. The Mavs had averaged less than 90 points over their last seven games.
Nowitzki responded by making his first three shots of the game and scoring 13 in a row at one point during the second quarter. He finished 14 for 21 from the floor and 9 for 10 from the line.
Nowitzki's previous season high was 34 points against the New York Knicks on Feb. 19.
The Jazz outscored the Mavericks 41-28 in the fourth quarter and went on a 24-8 run to cut Dallas' lead to 93-88 with 1:41 left.
Terry answered with a layup and Nowitzki hit four free throws to help Dallas push ahead 99-90 with 19.4 seconds left.
CJ Miles scored 13 points and Al Jefferson had 11 points and 10 rebounds for the Jazz, who have lost seven in a row to the Mavericks.
Utah was down 53-47 in the third quarter when Dallas broke the game open.
Nowitzki sparked a 21-8 run by banking in an off-balance 3-pointer. The 2011 NBA finals MVP then hit another from long distance to stretch the lead to 12.
Odom drove for a layup and made a 3-pointer from the corner to put Dallas on top 69-55, and Terry scored the final five points of the third quarter.
Mavericks coach Rick Carlisle said before the game that Odom joined the team sooner than expected because the team needed another healthy player during a rugged stretch where it plays nine games in 12 days.
Odom had been set to play for the Texas Legends on Saturday night. He entered with 7:36 left in the first quarter to an ovation from the home fans.
NOTES: Utah G Raja Bell (strained left adductor) missed his sixth straight game. . Dallas C Brandan Wright (concussion) did not play. Carlisle said Wright is day to day and there is no timetable for his return.