The Brooklyn Nets are getting some cap relief and DeAndre Jordan is getting a new home.

ESPN's Adrian Wojnarowski reports the team is sending veteran centre DeAndre Jordan and four second-round picks to the Detroit Pistons for Jahlil Okafor and Sekou Doumbouya. 

Wojnarowski notes the deal will save the Nets $47 million in salary and tax. Only two of the four second-round picks, in 2022 and 2027, are the Nets' own with the other two originally being a Washington Wizards 2024 pick and a 2025 pick that originally belonged to the Golden State Warriors.

The Pistons will then buy out Jordan, who intends to sign as a free agent with the Los Angeles Lakers once he clears waivers on a one-year, $2.6 million deal, reports The Athletic's Shams Charania. 

An All-Star in 2017, Jordan heads into his 14th NBA season. He appeared in 57 games for the Nets last season, averaging 7.5 points on .763 shooting, 7.5 boards and 1.1 blocks over 21.9 minutes a night. It was his second season with the team.

A native of Houston, Jordan has appeared in 932 career games with the Los Angeles Clippers, Dallas Mavericks, New York Knicks and Nets.