Ernest Leander Shaw has been sentenced for possession of child pornography. Shaw, a former substitute teacher, taught at various schools throughout the county.