A Richmond man was sentenced to 30 years in prison for producing child pornography, according to a press release from the United States Attorney's Office.