The two principals in the Hawks’ major draft-day trade were on the same court Wednesday night in Dallas.

The Hawks’ Trae Young scored 24 and Luka Doncic of the Mavs did too but Dallas pulled away from Atlanta for a 114-107 victory.

The Hawks drafted Doncic with the third overall pick of the NBA Draft in June but traded him to the Mavs for Young, who Dallas picked with the fifth pick. The Hawks also acquired a lottery-protected first-round pick in the 2019 draft in the deal.

Young also has 10 assists Wednesday and Doncic finished with six assists and 10 rebounds.

Harrison Barnes scored 25 points as the Mavs extended their home winning streak to 11 games while ending a 10-game skid against the Hawks.

J.J. Barea had 18 points before leaving with a sprained left ankle as the Mavericks finally beat the Hawks after blowing a 26-point lead in October, when Young had a strong fourth quarter in his home debut to help his team rally to a 111-104 win.

Instead of wilting in the fourth quarter Wednesday, the Mavericks took control with a 7-0 opening run for a 10-point lead and eventually went up by as many as 15 before the Hawks made it closer with an 11-1 run late.

It was Dallas' first win over Atlanta since Oct. 30, 2013, and the home winning streak is the longest since a 12-game run in 2007-08.

The teams are headed in opposite directions after both ended the first meeting at 2-2. The Mavericks are 13-9 since then and the Hawks have gone 4-19.

Kent Bazemore scored 22 for the Hawks and John Collins had 20 points and a career-high 17 rebounds.

The Hawks’ Vince Carter, a former Mavs player, got a nice ovation when he entered the game in the first quarter. The 41-year-old scored his only points on a 3 in the first quarter.

Collins had nine offensive rebounds, the most by a Dallas opponent this season.

Doncic was 12 of 15 from the line as the Mavs attempted a season-high 43 free throws.

The Hawks play at Boston Friday night.