The Bobcats and Tyrus Thomas have agreed on a five-year, $40 million contract, a league source told Y! Sports.

The Nets were seriously engaged with Thomas, but were hesitant that the Bobcats would match their offer on the restricted free agent.