The Detroit Pistons matched the longest losing streak in NBA history Thursday, blowing a 21-point lead before falling to the Boston Celtics 128-122 in overtime for their 28th straight loss.

The Pistons tied the Philadelphia 76ers, who lost 28 in a row starting in 2014-15 and into the 2015-16 season.

Detroit’s next chance to record its first win since Oct. 28 is Saturday against Toronto.

The Pistons opened a 21-point lead in the first half but trailed 106-100 in the final two minutes of regulation. Jaden Ivey scored six straight points to erase the deficit, then Bojan Bogdanovic made a putback with 4.6 seconds left to force OT.

Derrick White scored 10 of his 23 points in the extra period and Kristaps Porzingis added six to finish with 35.

Jayson Tatum had 31 points and 10 assists for league-leading Boston, which has won four straight and nine of its last 10 games.

Cade Cunningham led the Pistons with 31 points and nine assists, while Ivey finished with 22 points and 10 rebounds.

Jokic has another triple-double

Nikola Jokić registered 26 points, 14 rebounds and 10 assists in less than three quarters to lead the Denver Nuggets to their sixth consecutive win, 142-105 over the short-handed Memphis Grizzlies.

Jokic was 11 of 11 from the field and hit all three free throws before going to the bench with 1:31 left in the third quarter. He notched his 11th triple-double of the season and 116th of his career, which ranks fourth in NBA history.

Desmond Bane had 23 points and Marcus Smart added 17 for the Grizzlies, who were without star guard Ja Morant. Memphis had a four-game winning streak snapped and dropped to 6-20 when Morant is out of the lineup.

Edwards leads Timberwolves past Mavericks

Anthony Edwards poured in a season-high 44 points and Rudy Gobert added 20 with 11 rebounds to lead the Minnesota Timberwolves to a 118-110 win over the Dallas Mavericks, who were without Luka Dončić.

Jaden McDaniels chipped in 12 points for Minnesota, which improved the Western Conference’s best record to 23-7.

With Doncic out on the second night of back-to-back games, Dallas lost its fifth in seven games. Tim Hardaway Jr. scored 32 points off the bench and Jaden Hardy added 17 points.