After a disappointing one-year stop with the New York Knicks,Arron Afflalo is headed to the Sacramento Kings.

The veteran guard agreed to a two-year, $25 million deal, according to Adrian Wojnarowski of The Vertical. Sam Amickof USA Today later confirmed the signing.

Afflalo, 30, averaged 12.8 points and 3.7 rebounds last season in New York. He appeared in 71 games, starting 57, and put up solid shooting splits for the most part.

A career 38.5 percent shooter from three-point range, Afflalo knocked down 38.2 percent in 2015-16 and 44.3 percent of his field goals overall. The differences were mostly the result of usage, as Afflalo’s rate (17.9) dipped to its lowest since 2011-12, per