If a juvenile is committed to the Department of Corrections, the department shall determine the extent of security and treatment services that are in the best interest of the juvenile and in the best interest of the state. When the department makes its determination, it shall place the juvenile in a juvenile correctional facility under the department's control pursuant to § 1-15-1.4 or a group home, group care center, residential treatment center, or other community-based services, if those community-based services were not provided prior to commitment.
SDCL 26-11A-8