Jalen Rose likes Brooklyn trading for Dwight Howard because it opens up two max-contract spaces to build a superteam. (1:02)

Jalen: Nets 'have nothing to lose' in Howard trade (1:02)

The Charlotte Hornets have agreed to send Dwight Howard to the Brooklyn Nets for center Timofey Mozgov, two second-round picks and cash, league sources told ESPN.

Dwight Howard: NBA Career Dwight Howard has averaged a double-double in each of his first 14 seasons. Only one other player in NBA history can make that claim: Wilt Chamberlain. A look at other impressive stats: All-Time Rank Points 17,999 70th FG pct. 58.3 4th << Rebounds 13,101 14th Blocks 2,047 17th >> Min. 2,000 career FG makes

-- ESPN Stats & Information

Charlotte was determined to move Howard, who has a $23.8 million expiring contract.

The Hornets will receive the Nets' second-round pick (No. 45) in Thursday's NBA draft and a 2021 second-round pick, league sources said.

Mozgov has two years and $32.7 million left on his contract. Charlotte general manager Mitch Kupchak signed Mozgov to a four-year, $64 million deal with the Los Angeles Lakers two years ago.

The deal can't be completed until the moratorium ends on July 6. The Nets will need money to expire off the salary cap to take on Howard's salary.

The Nets will save nearly $17 million on the trade in the 2019-20 season, allowing them to create two max-salary slots for 2019 free agency.

Howard, 32, an eight-time NBA All-Star, is changing teams for the third time in nearly three years, from the Houston Rockets to Atlanta Hawks to Charlotte and now Brooklyn.