The Cavaliers have agreed to sign unrestricted free agent center Andrew Bynum to a multi-year contract, according to multiple reports.

ESPN.com and Yahoo! Sports both report that Bynum is heading to Cleveland and sitting out the entire 2012-13 season in Philadelphia with knee injuries. He will reportedly receive a two-year contract worth $24 million; only $6 million of Bynum’s 2013-14 salary will be guaranteed and the second year will be a team option.

Bynum, 25, last played for the Lakers during the 2011-12 season, averaging a career-high 18.7 points and 11.8 rebounds in 60 appearances while earning his first All-Star nod. Traded to the 76ers in a 2012 four-team blockbuster trade that sent Dwight Howard from the Magic to the Lakers, Bynum never suited up in Philadelphia following a series of setbacks with both knees.

The bad news steadily trickled out for Bynum throughout the 2012-13 season. He sat out training camp and the preseason because of a bone bruise in his right knee. In November, Bynum told reporters that he had cartilage damage in his left knee, and later admitted that the “setback” happened while he was bowling. The Sixers had initially hoped he would return in December but eventually opted to list him as out indefinitely with bone bruises in both of his knees following that setback.

In January, Bynum was cleared to run and spoke about a return to the court after the All-Star Break. After participating in a 5-on-5 scrimmage in February, Bynum conceded on March 1 that he might not play this season because of swelling in his right knee. Season-ending surgery was then raised as a possibility in early March and he eventually underwent season-ending arthroscopic surgery on both of his knees in mid-March.