A Santa Maria man accused of sex crimes against children and the distribution of pornography has been sentenced. 32-year-old Joel McClain pleaded guilty to charges against him. He was sentenced to eight years in state prison. He’s also facing similar charges in Orange County and could receive additional prison time.