Judge says Smith 'a danger to society'