Former Steuben County Assistant District Attorney James Miller, who pleaded guilty to possession of child pornography involving prepubescent minors, was sentenced to serve 20 months in state prison.