POSTED: Jul 12, 2015 8:44 PM ET
NEW YORK (AP) — The Brooklyn Nets have agreed to a deal with former No. 1 pick Andrea Bargnani.
Bargnani remains in New York after spending the last two seasons with the Knicks. He has struggled with injuries and appeared in just 29 games last season, averaging 14.8 points.
Terms of the deal the Nets announced Sunday on Twitter were not disclosed.
Bargnani hasn't played more than 35 games in a season since 2010-11 in Toronto, when he averaged a career-best 21.4 points. The Raptors, who drafted the Italian forward first overall in 2006, dealt him to the Knicks in the summer of 2013.
Bargnani appeared in just 71 games over two seasons in New York. He becomes the second player to change teams in the city this offseason after Shane Larkin signed with Brooklyn.