It took all summer and nearly till the start of the season, but J.R. Smith has finally re-signed with the Cleveland Cavaliers.

According to ESPN's Marc Stein, Smith has agreed to a four-year, $57 million deal with the Cavs. Stein also reports that that Smith's deal is "fully guaranteed for $45 million over the first three seasons no matter what happens in year four." This is in line with what Smith was hoping to achieve by waiting the Cavs out. Smith was looking to sign a deal that paid him $15 million a year while the Cavs were reportedly offering him $10-11 million annually. Smith announced the news himself via a video on Uninterrupted:

The contract stalemate between Smith and the Cavs took much longer than many expected. According to Stein, the Cavs recently hastened negotiations with Smith due to heavy interest by the Philadelphia 76ers. This may seem like a strange move by Philadelphia but the Sixers seem intent on trying to bring in a veteran shooting guard as they also tried to sign Manu Ginobili this past summer.

But Smith wanted to remain in Cleveland and the Cavs wanted him back as well. LeBron James also repeatedly went to bat for Smith, strongly urging the Cavs to make a deal with their starting shooting guard. However, the length of his contract and the exact amount Smith wanted to get paid, caused the holdup. The Cavaliers experienced a similar contract dispute last year with Tristan Thompson yet that didn't take quite as long.

While remaining un-signed, Smith missed all of training camp and five preseason games. But having played for the Cavs for the last couple of seasons, Smith should be able reinsert himself back on the team rather seamlessly. He has also been hanging around his teammates for a good part of the summer so the camaraderie is still there.

Smith should immediately be back in the starting lineup for the Cavs. He is coming off one of the better years of his career, where he averaged 12.4 points while shooting 40 percent from three. Smith was instrumental in the Cavs title run last year and will now be expected to live up to his contract by continuing to play at a consistent level. Especially since after a long summer, Smith got the contract he felt like he deserved to get. Now Smith will just have to show the Cavs, he was worth it.