The Oregon Department of Corrections is the agency of the U.S. state of Oregon charged with managing a system of 12 state prisons since its creation by the state legislature in 1987.