With an eye toward maximizing the future of the salary cap, LeBron James finalized his contract with the Cleveland Cavaliers on Saturday.

James signed a two-year, $42.1 million deal, sources familiar with the process told ESPN.com, with the goal of re-signing with the Cavs before the 2016-17 season when a new television deal is expected to create a large jump in value of the maximum contract.

As part of the deal, James will have an option to become a free agent next summer but is fully committed to the Cavs long term, sources said.

Cleveland officially announced Saturday that James had signed with the team, but did not provide any terms of the contract in a release, citing league policy.

"We could not be happier to welcome LeBron James home," Cavaliers general manager David Griffin said in a statement Saturday. "Yesterday, LeBron, through his essay, told us he wasn't going anywhere except Cleveland and that 'Cleveland is where he always believed he would finish his career.' These words and commitment put all of us, including LeBron, in the best position to build our franchise the right way and achieve the kind of goals we all know are possible. Expectations will be at the highest levels but no one should expect immediate and automatic success.

"We can't wait to get started and look forward to his leadership, on and off the court, for many years to come."

Depending on how the new television contracts are put together, the salary cap is projected to leap to as high as $80 million in 2016. There is also uncertainty with the current collective bargaining agreement starting in 2017, another reason James wanted to keep his long-term options open when it comes to the structure of his contract.

LeBron James appeared at a promotional event in Rio de Janeiro on Saturday ahead of the World Cup final, which he will attend Sunday. AP Photo/Leo Correa

James' off-court earnings, which top $40 million per year according to some estimates, allow for him to take some short-term risk to maximize long-term earnings.

James has earned $129 million over his 11-year career but has only earned the max salary three times during that span.

Meanwhile, ESPN.com reported Friday that Minnesota Timberwolves forward Kevin Love is naturally "intrigued" by the idea of playing alongside James and would welcome a trade to the Cavaliers now that Cleveland has managed to sign him. Any team trading for Love has to feel strongly that it can keep the All-Star power forward before surrendering quality assets for him.

Love has made it clear to Wolves management since the season ended that he is determined to become a free agent at the first opportunity in July 2015, which has put Minnesota in a position where it has to strongly consider trading him or risk losing him for nothing next summer.