It had to happen eventually, even if the Dallas Mavericks definitely didn't want to play so much extra time recently.
The Mavericks ended their long overtime slump with a 117-112 in Sacramento Thursday night.
With O.J. Mayo playing one of his best games of late with 23 points and 10 rebounds, Dallas rallied from down 17 in the second half to pull out the win.
Leading 49-42 at halftime, the Kings then went on a 7-0 run to start the third quarter and eventually led 71-54 with 3:51 left in that period. But the Mavs then responded with their own 7-0 run and then gradually chipped away in the fourth.
With Dallas down 91-84 with less than 5 1/2 minutes left, Mayo scored seven points to help bring Dallas all the way back and lead 100-95 with less than a minute to go. But John Slamons then hit one three-pointer, and then when Mayo could only hit one of two free throws, Isaiah Thomas hit another long shot to tie the game.
The game was ties at 109 with 1:11 to play in the overtime, but Shawn Marion put the Mavs up with less than a minute to go. Then a flagrant foul from Demarcus Cousins after Marion stole the ball from him allowed Vince Carter to make free throws that helped the Mavs build a lead they could keep.
Carter finished with 23 points while Marion had 19 and Dirk Nowitzki had 17.
The win snapped a four-game losing streak for the Mavs, who will be back home to face Memphis on Saturday.