The New York Knicks have acquired guard Emmanuel Mudiay in a three-team deal with Denver and Dallas. In the deal, New York sends forward Doug McDermott to Dallas and its 2018 second-round draft pick to Denver (Subject to Philadelphia’s right to swap that pick with the Los Angeles Clippers second-round pick). Dallas also sends guard Devin Harris to Denver, with Denver sending a 2018 second round pick to Dallas.

“We welcome Emmanuel to New York and are excited to add this talented player to our roster,” said Scott Perry, General Manager, New York Knicks. “He is a young, athletic guard who we feel will be a valuable addition to the Knicks moving forward.”

Mudiay, 6-5, 200-pounds, holds career averages of 11.1 points, 4.3 assists and 3.1 rebounds over 25.6 minutes in 165 games (107 starts) through three seasons with Denver. The Democratic Republic of Congo-native is averaging 8.5 points, 2.9 assists and 2.2 rebounds over 17.9 minutes in 42 games this season. He was originally selected by Denver with the seventh overall selection of 2015 NBA Draft. He represented the Nuggets in the 2016 Rising Stars game at All-Star Weekend and was named to the 2015-16 All NBA Rookie Second Team.

“We can’t thank Emmanuel enough for his time in Denver” President of Basketball Operations Tim Connelly said. “Emmanuel has been nothing but a complete professional both on and off the court and has done so much to help improve our organization and the city of Denver. New York is not just getting a good basketball player but a fantastic individual and we wish him the best moving forward.”

McDermott (6-8, 225) holds career averages of 7.8 points, 2.3 rebounds and 20.4 minutes per game in 238 games (10 starts) with Chicago, Oklahoma City and New York. He has shot 44.9 percent from the field, 39.2 percent from beyond the arc and 81.8 percent from the foul line for his career.

The fourth-year man out of Creighton averaged 7.2 points, 2.4 rebounds and 21.3 minutes per game in 55 games (one start) for the Knicks this season. He is shooting a career-high 46 percent (151-of-328) from the floor and 38.7 percent (53-of-137) from deep in 2017-18.

McDermott was originally selected by Denver with the 11th overall pick in the 2014 NBA Draft, but had his draft rights traded to Chicago along with Anthony Randolph in exchange for the draft rights to Gary Harris and Jusuf Nurkic and a future second-round pick.

On Feb. 23, 2017, McDermott was traded, along with Taj Gibson and a future second-round pick, to Oklahoma City in exchange for Joffrey Lauvergne, Anthony Morrow and Cameron Payne. On Sept. 25, 2017, he was dealt, along with Enes Kanter and a future second-round pick, to New York in exchange for Carmelo Anthony.

The 6-8 forward played four years for his father, Greg McDermott, at Creighton from 2010-14. He finished his college career ranked fifth on the NCAA Division I all-time scoring list with 3,150 points. As a senior in 2013-14, he led the nation in scoring (26.7 ppg) en route to being named the consensus national player of the year.

McDermott was a high school teammate of Mavericks forward Harrison Barnes at Ames High School (Ames, Iowa). Barnes and McDermott led the Little Cyclones to back-to-back Iowa 4A state championships and a combined 53-0 record during their junior and senior years (2008-09 and 2009-10).

McDermott will wear No. 20 for Dallas.

Devin Harris, 6-3, 192, appeared in 44 games (one start) for Dallas this season, averaging 8.5 points, 1.9 assists and 1.9 rebounds in 18.3 minutes per game. Over 14 seasons, Harris has appeared in 890 career games (446 starts) for Dallas, New Jersey, Utah and Atlanta averaging 11.2 points, 4.1 assists and 2.2 rebounds in 25.1 minutes per game.

The 34-year-old has played in 64 playoff games (31 starts) holding averages of 9.1 points, 2.6 assists and 1.9 rebounds while shooting 45.0% from the field in 23.7 minutes per game. The University of Wisconsin product was also named to the NBA Eastern Conference All-Star team during the 2008-09 season while playing for the New Jersey Nets.