A 22-year-old man accused of setting fire to the former Blue Heron paper mill in Oregon City pleaded guilty on Thursday and was sentenced to five years in prison.