Sources: Justin Hamilton agrees to deal with Nets

Free-agent center Justin Hamilton has agreed to a two-year, $6 million deal with the Brooklyn Nets, league sources told The Vertical.

Hamilton and his representatives at Priority Sports finalized the agreement Friday afternoon.

Hamilton, 26, has played two NBA seasons with Charlotte, Miami and Minnesota. The 7-footer was part of the Heat's NBA Finals team in 2014. He played in Spain last season.

Hamilton has averaged five points and 2.9 rebounds for his NBA career. He was the 45th overall pick of the 2012 NBA draft out of LSU.