A man who was facing child pornography charges after a warrant was served at his East Side home was sentenced Thursday in Mahoning County Common Pleas Court to five years in prison.