The Cleveland Cavaliers and restricted free agent Sasha Pavlovic have agreed to a three-year deal, Pavlovic's agent Marc Cornstein told ESPN.com.

Cornstein refused to give the numbers on the contract.

"Sasha is very excited to be returning to the Cavs," Cornstein said. "I believe he can help the Cavs build on the success they had last year."

The two sides had been at a standstill for much of the summer. Cornstein said that there was little movement until the last few days when Cleveland began to put a more serious offer on the table.