The Toronto Raptors have agreed to acquire Serge Ibaka from the Orlando Magic for Terrence Ross and a 2017 first round pick.

The Magic acquired Ibaka from the Oklahoma City Thunder in the offseason for Victor Oladipo, Ersan Ilyasova and Domantas Sabonis. Orlando never coalesced into a playoff contender as they expected.

Ibaka will be an unrestricted free agent this offseason. Toronto intends to re-sign Ibaka and not simply make him a rental for their playoff push this season. Masai Ujiri has long had interest in acquiring Ibaka.

Ross signed an extension with the Raptors worth $33 million over three years in 2015. Ross is due $10.5 million in 17-18 and 18-19 before becoming an unrestricted free agent.

The Raptors own two first round picks in this year's draft and will send the lesser in value of the two between their own and the Clippers.