Justin Hamilton signed a two-year contract with the Miami Heat containing certain guarantee dates for next season, a league source told RealGM.

Hamilton had finished his first 10-day deal with the Charlotte Bobcats on Thursday, and the Heat have long been intrigued with the seven-footer from Louisiana State University. Miami originally acquired Hamilton in the second round of the 2012 NBA draft.

The Heat released DeAndre Liggins from a second 10-day contract to create roster space for Hamilton.

Hamilton averaged 19.3 points and 9.2 rebounds this season for the Heat’s D-League affiliate, the Sioux Falls Skyforce.