State Supreme Court Justice James McCarty warned Nicholas Hamilton of Yonkers to stay out of trouble once out of prison.