Judge: Man is danger to society