CLEVELAND, Ohio -- Cleveland Cavaliers veteran Channing Frye says he will retire at the end of this season.

Frye, 35, made the official announcement on Twitter Friday, one day after hinting of the news with an Instagram photo from Madison Square Garden.

“Yes, I am really retiring,” Frye wrote. “It’s been a (sic) amazing ride. I’ve had the chance to have some amazing teammates and play for some great coaches. I’m gonna miss it but I’m super excited to see the other side of the fence!”

Yes, i am really retiring. It’s been a amazing ride. I’ve had the chance to have some amazing teammates and play for some great coaches. I’m gonna miss it but I’m super excited to see the other side of the fence! — Channing Frye (@Channing_Frye) March 1, 2019

Following the Cavaliers’ 125-118 win against the Knicks, Frye, who began his career in New York, captioned a post about Thursday being his final game at famed MSG.

Frye has played 13 NBA seasons, turning into a Cleveland fan favorite because of his brief stint during the 2015-16 season, helping the Cavs become a true team and playing a key role in the championship run. After being traded to the Los Angeles Lakers last February, Frye signed a one-year minimum deal this summer, believing Cleveland was the place where he could make the biggest impact.

Frye’s playing time has been limited. He is averaging 3.3 points in 9.5 minutes. But he remains a locker room leader and positive influence on the young core.