The Brooklyn Nets have signed Andrea Bargnani.

Bargnani was close to a deal with the Sacramento Kings, who were offering more money than the Nets. The Kings, sources say, believed a deal was imminent Sunday, after ESPN reported on Saturday that Sacramento and Bargnani were in advanced negotiations and closing in on a deal.

Bargnani instead accepted the Nets offer of a two-year deal for the veteran's minimum that includes a player option.

The New York Knicks acquired Bargnani during the 2013 offseason from the Toronto Raptors.