Jeremy Lin and the Brooklyn Nets have agreed upon a three-year, $36 million deal.

Lin's deal includes a player option for the third year, a trade kicker and bonus provisions.

The Nets had been aggressively pursuing Lin since the start of free agency on Thursday night, beating out several teams, including the New Orleans Pelicans.

Lin will get to reunite with Kenny Atkinson, who was hired by the Nets as head coach this offseason.

RealGM's Grading the Deal on Lin signing with the Nets.