Teen plea will move case to juvenile court