With the clock ticking on the trade deadline, the Denver Nuggets, New York Knicks and Dallas Mavericks were able to work out a big three-way trade. According to ESPN's Adrian Wojnarowski, the Nuggets have acquired Devin Harris, while Doug McDermott heads to the Dallas Mavericks. The Knicks acquired Emmanuel Mudiay from Denver, while the two teams also swapped future second-round picks.

Harris should help a Nuggets team that sits sixth in the Western Conference with a 29-26 record. The 34-year-old has been primarily used as a bench player, averaging 8.5 points and 18.3 minutes per game.

Dallas provides a fresh start for the 26-year-old McDermott, who hasn't lived up to expectations since being drafted 11th-overall by the Nuggets in 2014. He's averaging 7.2 points and 2.4 rebounds per game, but will get his chance to play a bigger role on a rebuilding Mavericks team that figures to contend for the NBA Draft lottery.

As is the case with McDermott, Mudiay gets a chance to rediscover his potential on a new team. The Knicks are hoping that Mudiay - who was drafted seventh-overall by Denver in 2015 - will be able to display his full skill set.

via Jerome Miron-USA TODAY Sports

Mudiay is in his third season, averaging 8.5 points, 2.2 rebounds and 2.9 assists per game. The rebuilding Knicks have nothing to lose in this deal, as Mudiay should be a decent bench player at the very worst.

RELATED: CAVALIERS AND LAKERS COMPLETE BIG MULTI PLAYER TRADE

The 2018 NBA trade deadline has been dominated by the Cleveland Cavaliers, who landed George Hill, Jordan Clarkson and Rodney Hood while shipping out Derrick Rose, Dwyane Wade, Iman Shumpert, Isaiah Thomas, Jae Crowder and Channing Frye. It was time for some other teams to enter the spotlight.

Since signing Paul Millsap last offseason, the Nuggets have finally been removed from mediocrity and look poised to snag a playoff spot in the brutally tough Western Conference. The addition of Harris shows they're going all-in. The Mavs and Knicks have to be happy in adding young pieces that could be major steals in the future.

NEXT: CAVALIERS CONTINUE TO RESHAPE TEAM WITH HOOD TRADE