DALLAS (AP) - Dirk Nowitzki had 32 points and 11 rebounds for his eighth straight double-double, and the Dallas Mavericks rallied in the fourth quarter to beat the Sacramento Kings 106-104 on Saturday night.
Nowitzki has had at least 20 points and 10 rebounds in each of his last eight games.
Jason Terry added 18 points and Jerry Stackhouse had 16 for the Mavericks, who have won 22 of their last 24.
Ron Artest had 25 points, Kevin Martin added 21 and Corliss Williamson had 20 points for the Kings, who have lost 10 of their last 13.
The Mavericks won their 13th in a row at home, the second-longest home winning streak in franchise history behind a 16-game stretch last season.
Sacramento trailed by as many eight in the fourth quarter, but the Kings pulled within 101-100 on Mike Bibby's 22-footer with 46 seconds left. Nowitzki answered with a 16-foot fadeaway with 27 seconds to play to push Dallas' lead to 103-100.
Sacramento climbed back within one when Brad Miller's off-balance 3-pointer with 4.1 seconds to play made it 104-103, but Nowitzki's two free throws with 3.4 seconds remaining extended Dallas' lead to 106-103.
John Salmons, fouled intentionally at midcourt with 1.5 seconds left, made one free throw but missed the second on purpose.
Dallas' Devin Harris tracked down the rebound as the buzzer sounded.
The Mavericks were coming off one of their worst showings of the season, a 96-85 loss at Chicago on Thursday night when they shot 31 percent from the field. The performance was so poor and out of character that coach Avery Johnson said he "burned the film."
Dallas hasn't lost two straight since opening the season 0-4.
Sacramento hit 10 of its first 13 shots in the third quarter and took a 76-71 lead on Artest's steal and dunk with 1:08 left in the period.
Martin's 3-pointer at the end of the period gave Sacramento a 79-75 edge.
Dallas led only 52-49 at halftime despite shooting 57 percent from the floor and outrebounded Sacramento 21-13.