There were two trials, both titled State of Arizona v. Ernesto Miranda. Miranda was convicted of kidnapping and rape at his first trial and again on retrial.
In the appeal of the first trial (Miranda v. Arizona, (1966)), the US Supreme Court held that Miranda's constitutional rights had been violated, resulting in the first conviction being vacated and the case being remanded for retrial with Miranda's confession excluded as evidence.
Miranda was subsequently convicted at his second trial. The decision was affirmed by the Arizona Supreme Court. The US Supreme Court denied certiorari for his second petition, making the Arizona Supreme Court decision final.