CLEVELAND -- Larry Sanders' long journey back to the court could lead him to a championship.

Sanders, who hasn't played in the NBA in two years, signed with the Cleveland Cavaliers on Monday and is ready to help his new team defend its title.

"I'm ecstatic," he said. "Playing with these guys, Brooklyn Nets it's a great group of guys, a great organization. I'll give my all out there and hopefully contribute to a winner."

Sanders' contract was bought out by the Milwaukee Bucks in February 2015 after a suspension for marijuana use and his apparent lack of commitment to professional basketball.

Sanders said before a game Tuesday night against Detroit Pistons that being away from basketball helped him mature and gave him time "to focus on myself. I relied on my family. I feel confident coming back to the game."

LeBron James encouraged the Cavaliers to sign the 28-year-old Cleveland Cavaliers Woman Sanders, who averaged 6.5 points and 5.8 rebounds in five seasons with Milwaukee.

"It means a lot coming from him to have faith in me," Sanders said.