SACRAMENTO -- The Dallas Mavericks needed a victory and there was no better opponent for them than the Sacramento Kings.
The Mavericks remained within reach of a Western Conference playoff berth with a 117-108 victory Friday night at Sleep Train Arena before an announced crowd of 13,903.
Dallas (37-39) currently is in 10th place in the West behind ninth-place Utah (40-37) and the eighth-place Los Angeles Lakers (39-36).
The Mavericks played like a team with something on the line, while the Kings did not.
Kings coach Keith Smart played DeMarcus Cousins just nine minutes and didn't play him in the first quarter. Streaky scorer Marcus Thornton played just five minutes and did not play in the second half.
Meanwhile, the Mavs, who played Thursday night in Denver bounced back from a loss with a strong performance by Shawn Marion, who scored a team-high 25 points.
Dallas used a powerful performance from its reserves to outscore the Kings bench, 49-24. Forward Brandan Wright scored 20, while backup point guard Darren Collison scored 18.
The Mavericks started slowly and trailed, 27-18, after one quarter, but used a 41-point second quarter to seize control of the game and never trailed again. Marion scored 13 in the third quarter to help keep the Kings at bay.
Isaiah Thomas scored a game-high 29 points to lead the Kings, while Tyreke Evans scored 26.
NOTES: The Mavericks entered the contest having won 14 of the past 15 meetings with Sacramento. They have won 30 of the past 36 against the Kings. ... Mavericks guard O.J. Mayo was a high school teammate of Kings forward Patrick Patterson at Huntington High School (Huntington, W.Va.). ... This was the third game of a five-game home stand for the Kings. They host Memphis on Sunday. Sacramento needs to win two of its remaining four home games to finish with a winning home record for the first time since the 2007-08 season (26-15). ... Six of Sacramento's wins are against teams that have qualified for the playoffs or are vying for a postseason berth.