NEW YORK (AP) The Brooklyn Nets have signed center Justin Hamilton to a two-year contract.

Agent Mark Bartelstein said Friday the contract is for $6 million.

The Nets were in need of size up front to help Brook Lopez after trading Thaddeus Young to Indiana and not re-signing Willie Reed. The 7-foot Hamilton has averaged 5.0 points in 49 career NBA games.

More from FoxSports