13-4233. Nature of proceeding and relation to
other remedies


A proceeding pursuant to this article is a part of the original criminal action and
not a separate action. It displaces and incorporates all trial court post-trial remedies
except post-trial motions and habeas corpus. If a defendant applies for a writ of habeas
corpus in a court having jurisdiction of his person attacking the validity of his
conviction or sentence, that court pursuant to this article shall transfer the cause to
the court where the defendant was convicted or sentenced and that court shall treat it as
a petition for relief under this article and the procedures of this article apply.