The Dallas Mavericks have agreed upon a trade with the Atlanta Hawks to move up to No. 3 to select Luka Doncic.

The Mavericks will send a future first round pick (top-5 protected for 2019 and 2020, top-3 protected in 2021 and 2022, and unprotected in 2023), along with the No. 5 pick to the Hawks.

The Hawks needed Trae Young to remain available when the Mavericks selected at No. 5 for the deal to be consummated. 

Dallas and Atlanta had been discussing a trade swap throughout the day on Thursday.

"What a day," Rick Carlisle said. "We're very fortunate. We get a guy that we think is a franchise-foundation piece. It's a big day for us."

The Mavericks expect Doncic to start as a rookie.

"I would project him as a starter right now," Carlisle said. "And then we'll see how it all goes. I stood up here last year and said the same thing about Dennis (Smith Jr.) and he started every game he was available. And I see the same kinds of things for Doncic. I have a really strong feeling that he and Dennis will complement each other extremely well."