Okla. Stat. tit. 22, § 1080
Any person who has been convicted of, or sentenced for, a crime and who claims:
(f) that the conviction or sentence is otherwise subject to collateral attack upon any ground of alleged error heretofore available under any common law, statutory or other writ, motion, petition, proceeding or remedy;
may institute a proceeding under this act in the court in which the judgment and sentence on conviction was imposed to secure the appropriate relief. Excluding a timely appeal, this act encompasses and replaces all common law and statutory methods of challenging a conviction or sentence.
Laws 1970, SB 604, c. 220, § 1, emerg. eff. July 1, 1970.