FILE - In this Dec. 29, 2016, file photo, Philadelphia 76ers center Jahlil Okafor (8) drives to the basket as Utah Jazz center Rudy Gobert (27) defends in the first half during an NBA basketball game in Salt Lake City. A person familiar with the deal says 76ers are set to trade beleaguered center Okafor to the Brooklyn Nets. (AP Photo/Rick Bowmer, File)
FILE - In this Dec. 29, 2016, file photo, Philadelphia 76ers center Jahlil Okafor (8) drives to the basket as Utah Jazz center Rudy Gobert (27) defends in the first half during an NBA basketball game in Salt Lake City. A person familiar with the deal says 76ers are set to trade beleaguered center Okafor to the Brooklyn Nets. (AP Photo/Rick Bowmer, File) Credit: Rick Bowmer

Philadelphia — The Philadelphia 76ers traded beleaguered center Jahlil Okafor to the Brooklyn Nets.

Okafor, the No. 3 pick in the 2015 draft, was dropped from the rotation this season and has played only two games. The Sixers also sent guard Nik Stauskas and a 2019 second-round pick to the Nets for forward Trevor Booker.

Okafor has largely been considered a bust and he asked for a contract buyout once the Sixers declined to pick up his option. The Sixers declined to release Okafor for nothing, continued to shop the 6-foot-11 center out of Duke and finally found a taker in the Nets.

Stauskas had played in only six games for the 76ers. Booker averaged 10.1 points for the Nets.

“It’s been real Brooklyn. Will always have nothing but love for you. Loved my time in New York!!!” Booker tweeted on Thursday night. “Philly what it do ?”

Thursday’s NBA Game

Lakers 107, Sixers 104

Philadelphia — Brandon Ingram scored 21 points including the game-winning 3-pointer with 0.8 seconds remaining to lead Los Angeles over Philadelphia.

Julius Randle and Jordan Clarkson added 16 points apiece for the Lakers, who snapped a five-game losing streak. Joel Embiid scored 33 points and Ben Simmons had a triple-double with 12 points, 13 rebounds and 15 assists for Philadelphia.

College Men

No. 21 Purdue 80, Valparaiso 50

West Lafayette, Ind. — Vincent Edwards scored 15 points, Carson Edwards finished with 10 points, and No. 21 Purdue dominated Valparaiso.

With 8 minutes remaining in the first half, the Boilermakers (9-2) held a 15-12 lead when Carsen Edwards’ fastbreak layup ignited a 21-4 run.