DENVER (AP) Danilo Gallinari scored 30 points, including the go-ahead jumper with 23.8 seconds remaining, and the Denver Nuggets rallied to beat the Detroit Pistons 104-101 on Saturday night.

Emmanuel Mudiay added 18 points and Nikola Jokic 17 for the Nuggets, who won their sixth in a row against the Pistons in Denver.

Marcus Morris had 20 points to lead the Pistons, who have lost five of their last seven games. Kentavious Caldwell-Pope added 16 points and Aron Baynes had 13 points and 10 rebounds.

More from FoxSports