1099: SSN vs ITIN

Hey everyone, 
I have a contractor, who had an ITIN for most of the year, but in August he received his SSN and became an employee. For the 1099, should I use the ITIN or the SSN? I emphasize that only when he obtained his SSN, we hired him as an employee. While he was an independent contractor, he worked with his ITIN.