Youth ( 51 % female and 49 % male ; age 9-17 years , mean age 14.3 years ) with depression and Crohn 's disease ( n = 161 ) or ulcerative colitis ( n = 56 ) were randomly assigned to a 3-month course of CBT or SNDT .