OPINION
By the Court,
This case involves alleged violations of the Interstate Agreement on Detainers (IAD). Codified in Nevada at NRS 178.620, the IAD provides for expeditious and orderly resolution of criminal charges pending in one state against a prisoner in another state. While subject to a pending, untried indictment in Nevada, appellant Dwayne Diaz was incarcerated in California on unrelated charges. Diaz was ultimately brought to trial in Nevada and convicted of the felony charge. Diaz appeals his conviction, alleging violation of the IAD’s speedy trial and antishuttling provisions. We conclude that Diaz’s conviction did not violate the IAD and, therefore, affirm the district court’s judgment of conviction.
FACTS
On February 11, 1998, the State of Nevada indicted Diaz for driving while under the influence of alcohol, with two or more *453prior convictions. Diaz appeared for his arraignment on April 14, 1998, and pleaded not guilty. On July 13, 1998, Diaz filed a motion to dismiss the indictment, but failed, on July 18, 1998, to appear for his preliminary hearing. The State thereafter issued a warrant for his arrest.
In approximately January 1999,1 Diaz was arrested in California for another offense and committed to California state prison. Based upon the pending indictment, Nevada apparently filed a detainer against Diaz, which triggered his right, under the IAD, to demand disposition of the indictment.2 Diaz executed his demand for disposition of the Nevada indictment on June 3, 1999. At that time, Diaz’s previously filed motion to dismiss the indictment was still pending. On July 14, 1999, Diaz was brought to Nevada to await trial. However, trial was not held because, on September 10, 1999, the district court granted Diaz’s motion to dismiss and Diaz was returned to California. On October 27, 1999, Diaz was paroled from California prison.
On June 15, 2000, this court reversed the order of dismissal. Trial was again delayed when, on September 28, 2000, Diaz filed a second motion to dismiss, this time alleging violation of the IAD’s speedy trial and antishuttling provisions. On October 10, 2000, the district court denied Diaz’s motion. Trial was held on October 17, 2000, at which time Diaz pleaded guilty, reserving the right to appeal the IAD issues.
DISCUSSION
Diaz alleges that this court should reverse his conviction because the State violated the IAD by failing to bring him to trial within the time required by the IAD, and because it violated the IAD’s antishuttling provision by returning Diaz to California before bringing him to trial. We disagree.
The IAD’s speedy trial provision — tolling
This case is governed by Article III of the IAD.3 Article III provides that once Nevada files a detainer against a prisoner in *454another state, the prisoner may request timely disposition of the untried indictment upon which the detainer was based.4 Once the request for disposition has been transmitted to the prosecuting officer and the appropriate court, the State has 180 days to bring the defendant to trial.5
Here, the State failed to bring Diaz to trial within 180 days of his request for disposition. The delay in trial, however, was not caused by the State, but by Diaz’s filing of two pretrial motions to dismiss. The United States circuit courts of appeals are divided as to whether the IAD period is tolled during the time required to resolve matters raised by the defendant.6 The Ninth Circuit Court of Appeals has held that delays attributable to a defendant’s own motions toll the IAD period.7 Likewise, this court has previously held that the time period for trial is tolled during “those periods of delay occasioned by the defendant.”8 We hold that the IAD period was tolled during the pendency of Diaz’s pretrial motions to dismiss, such that the State’s failure to bring Diaz to trial within 180 days of his request for disposition was not a violation of the IAD.9
Diaz initiated his first motion to dismiss even before he requested disposition of his indictment under the IAD. The IAD *455clock did not start running until that motion was fully resolved on June 15, 2000, when this court reversed the lower court’s decision to dismiss.10 On September 28, 2000, 105 days later, Diaz filed his second motion to dismiss alleging delay in excess of the IAD period. At that time the IAD clock again stopped running and did not restart until the district court denied the motion on October 10, 2000. Six days later, on October 17, 2000, after the IAD clock had been running for only a total of 112 days, the district court proceeded to trial, well within the limits of the IAD’s speedy trial provision.
The IAD’s antishuttling provision
The district court’s conviction of Diaz, likewise, did not violate the IAD’s antishuttling provision. The IAD’s antishuttling provision requires that trial be held on any pending indictment prior to the return of the defendant to the original place of imprisonment, or the indictment is to be dismissed with prejudice.11 Diaz alleges that the State violated this provision by first returning him to California, after his motion to dismiss the indictment was granted, and then second, by reinstating proceedings pursuant to that same indictment in Nevada once this court reversed the district court’s decision to dismiss. We disagree.
The antishuttling provision is not violated when the “shuttling” is the result of an erroneous order of the trial court that is later overturned.12 The IAD is designed to systemize the disposition of untried indictments and detainers so as to minimize disturbance to the defendant’s rehabilitation in the confining jurisdiction.13 A contrary result would defeat the purpose of the IAD by prolonging the defendant’s absence from the confining jurisdiction.14 We note that, here, by the time the indictment was reinstated and Diaz was returned to Nevada for trial, he was no longer incarcerated in California.
This case is easily distinguishable from Alabama v. Bozeman where the United States Supreme Court recently found a violation *456of the IAD’s antishuttling provision.15 In Bozeman, a prisoner in Florida was subject to untried charges in Alabama.16 An Alabama district attorney obtained temporary custody of the defendant for arraignment.17 Bozeman spent only one night in an Alabama county jail, appeared in local court the next morning, and was returned to Florida later that day.18 Approximately one month later, he was brought back to Alabama for trial on the same charges. Rejecting Alabama’s de minimis argument, the Supreme Court held that Bozeman’s prior transfer from Florida to Alabama, even if only for one night, precluded, under the anti-shuttling provision, his return to Alabama for trial.19
Bozeman is factually distinct from the case at hand. The shuttling in Bozeman occurred while the charges against Bozeman were still pending — Bozeman was brought to Alabama for arraignment and then returned to Florida to await trial. Here, the shuttling occurred because the charges against Diaz were dismissed — Diaz was brought to Nevada so that he could argue his motion to dismiss, and was returned to California when that motion was granted. In Bozeman, there was no reason why Alabama could not have detained Bozeman until trial rather than shuttling him back and forth. Here, by contrast, once the charges against Diaz were dismissed, Nevada had no authority upon which to detain Diaz. Sending Diaz back to California was unavoidable.
CONCLUSION
Because we conclude that Diaz’s conviction did not violate the IAD, we affirm the district court’s judgment of conviction.
Becker, L, concurs.