To reverse a previous act of perversion practised upon (a person, set of facts, etc.); to restore to a regular course or state.
Mid 17th century; earliest use found in Thomas Fuller (1607/8–1661), Church of England clergyman. From un- + pervert.
Are You Learning English? Here Are Our Top English Tips