As long as he did not provide more than half of his support, lived with you for over half the year, and was a full time student for at least part of any five months, you can claim him.
https://www.irs.gov/publications/p501/ar02.html#en_US_2016_publink1000220886