The Detroit Pistons put an end to their NBA record-tying 28-game losing streak on Saturday, defeating the Toronto Raptors 129-127 behind Cade Cunningham’s 30 points and 12 assists.

It was the first victory since Oct. 28 for the Pistons, who matched the Philadelphia 76ers’ record of 28, split over the 2014-15 and 2015-16 seasons. They finished one shy of the record for the four major American and Canadian leagues, set by the NFL’s Chicago Cardinals during World War II.

Jalen Duran had 18 points and a season high-tying 17 rebounds for Detroit, which clinched the win by going 11 for 12 from the free throw line in the final minute.

Pascal Siakam scored 35 points and Dennis Schröder added 28 for the last-place Raptors, who have lost five of six.

Toronto traded OG Anunoby, Precious Achiuwa and Malachi Flynn to the Knicks earlier in the day for RJ Barrett and Immanuel Quickley.

Haliburton’s big game lifts Pacers past Knicks

Tyrese Haliburton had 22 points and a franchise record-tying 23 assists and Myles Turner added 28 points to lead the Indiana Pacers to a 140-126 win over the New York Knicks.

Haliburton became just the third player in NBA history with consecutive 20–20 games. He tied Jamaal Tinsley’s franchise assists record, set against Washington on Nov. 22, 2001.

Magic Johnson (Dec. 18-19, 1984) and John Stockton (March 1 and 3, 1990) are the only other players with two straight games of at least 20 points and 20 assists.

Donte DiVincenzo scored a career-high 38 points and Jalen Brunson and Julius Randle each added 28 for the Knicks, who lost their season-high third straight.

Doncic lifts Mavericks in return

Luka Doncic scored 25 of his 39 points in the second half in his return to the lineup to lead the Dallas Mavericks to a 132-122 victory over the Golden State Warriors.

Doncic added 10 assists and eight rebounds after sitting out Thursday’s loss at Minnesota due to soreness in his left quadriceps.

Stephen Curry had 25 points and Chris Paul scored a season-high 24 to become the 37th player in NBA history to accumulate 22,000 career points.

Golden State lost its third straight to fall two games under .500.