Opinion by Judge REINHARDT; Partial Concurrence and Partial Dissent by Judge CALLAHAN.
OPINION
REINHARDT, Circuit Judge:
Daniel Zavala seeks credit toward his criminal sentence under 18 U.S.C. § 3585(b), the sentencing credit statute, for two periods of time during which he [369]*369was detained by the U.S. Immigration and Customs Enforcement Service (ICE) prior to the commencement of his criminal sentence for illegal reentry under 8 U.S.C. § 1326. We hold that where ICE. detains an alien pending potential criminal prosecution, that detention constitutes “official detention” within the meaning of § 3585(b) and the alien is accordingly entitled to credit toward his criminal' sentence.
I.
On September 20, 2010, Zavala was transferred from state custody, where he had finished serving a state criminal sentence, into the custody of ICE. That same day, an ICE officer gave him a Form I-871, U.S. Department of Homeland Security Notice of Intent/Decision to Reinstate Prior Order, which Zavala signed.1 The I-871 Form provided that ICE had determined that Zavala was subject to a prior order of removal entered on May 2, 2006, that he had previously been removed on May 3, 2006 pursuant to an order of removal, and that he illegally reentered the United States on or about July 14, 2009. Zavala signed the “Acknowledgment and Response” section of the 1-871 Form stating “I do not wish to make a statement contesting this determination.”2 The ICE officer accordingly reinstated the prior order of removal by signing the “Decision, Order, and Officer’s Certification” section of Form 1-871, which stated that “[hjaving reviewed all available evidence, the administrative file and any statements made or submitted in rebuttal, I have determined that the above-named alien is subject to removal through reinstatement of the pri- or order, in accordance with section 241(a)(5) of the [Immigration and Nationality] Act.” Although reinstatement of the prior order allowed ICE to remove Zavala from the country at any time from September 20, 2010 onward, ICE nonetheless continued to detain Zavala until October 6, 2010 — sixteen days later.
On October 6, 2010, a grand jury in the District of Nevada returned an indictment charging Zavala with illegal reentry under § 1326. ICE then transferred Zavala into the custody of the United States Marshals Service (USMS), and Zavala was in USMS custody as of October 7, 2010. Sixty-two days later, on December 7, 2010, the United States District Court for the District of Nevada granted the Government leave to dismiss the unlawful reentry charge due to improper venue.
On December 10, 2010, following dismissal of the indictment for improper venue, Zavala was transferred from USMS custody back into ICE custody. Twelve days later, on December 22, 2010, a criminal action for illegal reentry under § 1326 was again brought against Zavala, this time in the Central District of California, the proper venue, and he was again transferred into USMS custody from ICE custody.
Pursuant to a plea agreement, Zavala was sentenced on March 28, 2011 to 46-months’ imprisonment and 3-years’ supervised release for illegal reentry under § 1326(a). In calculating Zavala’s entitlement to sentencing credit under § 3585(b) [370]*370for time he spent in detention prior to the commencement of his criminal sentence, the Bureau of Prisons (BOP) granted Zavala credit for the two periods of time during which USMS detained him — October 6, 2010 through December 10, 2010, and December 22, 2010 through March 27, 2011.3
BOP denied Zavala sentencing credit, however, for the two periods of time during which ICE detained him prior to the commencement of his criminal sentence: (1) September 20, 2010 through October 5, 2010, when ICE detained him after reinstatement of the removal order but before an indictment was returned, hereinafter referred to as the “pre-indictment period”; and (2) December 11, 2010 through December 21, 2010, when ICE detained him between the dismissal of the first indictment for improper venue and the re-initiation of the criminal proceeding in the proper venue, hereinafter referred to as the “post-indictment period.”
On May 20, 2013, Zavala filed a petition for a writ of habeas corpus pursuant to 28 U.S.C. § 2241, claiming improper denial of sentencing credit because he had “been in official custody of the federal government since September 20, 2010.” A magistrate denied sentencing credit for both periods of detention by ICE, and the district court adopted in full the magistrate’s report and recommendation. Zavala appealed.
II.
Zavala contends that the district court erred in concluding that detention by immigration authorities never constitutes “official detention” within the meaning of § 3585(b), the statute governing the calculation of a term of imprisonment. We review the district court’s denial of a habeas petition de novo, while we review any underlying factual findings for clear error. Reynolds v. Thomas, 603 F.3d 1144, 1148 (9th Cir.2010), abrogated on other grounds by Setser v. United States, — U.S.-, 132 S.Ct. 1463, 182 L.Ed.2d 455 (2012). We review questions of statutory interpretation de novo. United States v. Thompson, 728 F.3d 1011, 1015 (9th Cir.2013); Phoenix Mem’l Hosp. v. Sebelius, 622 F.3d 1219,1224 (9th Cir.2010).
A.
Title 18 U.S.C. § 3585 governs'the calculation of the length of a federal criminal sentence. Under the statute, a term of imprisonment begins “on the date the defendant is received in custody awaiting transportation to, or arrives voluntarily to commence service of sentence at, the official detention facility at which the sentence is to be served.” § 3585(a). The statute then provides that the defendant is entitled to sentencing credit for time spent in “official detention” prior to the commencement of the term of imprisonment:
Credit for prior custody. — A defendant shall be given credit toward the service of a term of imprisonment for any time he has spent in official detention prior to the date the sentence commences—
(1) as a result of the offense for which the sentence was imposed; or
(2) as a result of any other charge for which the defendant was arrested after the commission of the offense for which the sentence was imposed;
[371]*371that has not been credited against another sentence.
§ 3585(b). The statute does not define “official detention.”
When interpreting a statute, “[w]e start, as always, with the language of the statute.” Williams v. Taylor, 529 U.S. 420, 431, 120 S.Ct. 1479, 146 L.Ed.2d 435 (2000).
Free access — add to your briefcase to read the full text and ask questions with AI
Opinion by Judge REINHARDT; Partial Concurrence and Partial Dissent by Judge CALLAHAN.
OPINION
REINHARDT, Circuit Judge:
Daniel Zavala seeks credit toward his criminal sentence under 18 U.S.C. § 3585(b), the sentencing credit statute, for two periods of time during which he [369]*369was detained by the U.S. Immigration and Customs Enforcement Service (ICE) prior to the commencement of his criminal sentence for illegal reentry under 8 U.S.C. § 1326. We hold that where ICE. detains an alien pending potential criminal prosecution, that detention constitutes “official detention” within the meaning of § 3585(b) and the alien is accordingly entitled to credit toward his criminal' sentence.
I.
On September 20, 2010, Zavala was transferred from state custody, where he had finished serving a state criminal sentence, into the custody of ICE. That same day, an ICE officer gave him a Form I-871, U.S. Department of Homeland Security Notice of Intent/Decision to Reinstate Prior Order, which Zavala signed.1 The I-871 Form provided that ICE had determined that Zavala was subject to a prior order of removal entered on May 2, 2006, that he had previously been removed on May 3, 2006 pursuant to an order of removal, and that he illegally reentered the United States on or about July 14, 2009. Zavala signed the “Acknowledgment and Response” section of the 1-871 Form stating “I do not wish to make a statement contesting this determination.”2 The ICE officer accordingly reinstated the prior order of removal by signing the “Decision, Order, and Officer’s Certification” section of Form 1-871, which stated that “[hjaving reviewed all available evidence, the administrative file and any statements made or submitted in rebuttal, I have determined that the above-named alien is subject to removal through reinstatement of the pri- or order, in accordance with section 241(a)(5) of the [Immigration and Nationality] Act.” Although reinstatement of the prior order allowed ICE to remove Zavala from the country at any time from September 20, 2010 onward, ICE nonetheless continued to detain Zavala until October 6, 2010 — sixteen days later.
On October 6, 2010, a grand jury in the District of Nevada returned an indictment charging Zavala with illegal reentry under § 1326. ICE then transferred Zavala into the custody of the United States Marshals Service (USMS), and Zavala was in USMS custody as of October 7, 2010. Sixty-two days later, on December 7, 2010, the United States District Court for the District of Nevada granted the Government leave to dismiss the unlawful reentry charge due to improper venue.
On December 10, 2010, following dismissal of the indictment for improper venue, Zavala was transferred from USMS custody back into ICE custody. Twelve days later, on December 22, 2010, a criminal action for illegal reentry under § 1326 was again brought against Zavala, this time in the Central District of California, the proper venue, and he was again transferred into USMS custody from ICE custody.
Pursuant to a plea agreement, Zavala was sentenced on March 28, 2011 to 46-months’ imprisonment and 3-years’ supervised release for illegal reentry under § 1326(a). In calculating Zavala’s entitlement to sentencing credit under § 3585(b) [370]*370for time he spent in detention prior to the commencement of his criminal sentence, the Bureau of Prisons (BOP) granted Zavala credit for the two periods of time during which USMS detained him — October 6, 2010 through December 10, 2010, and December 22, 2010 through March 27, 2011.3
BOP denied Zavala sentencing credit, however, for the two periods of time during which ICE detained him prior to the commencement of his criminal sentence: (1) September 20, 2010 through October 5, 2010, when ICE detained him after reinstatement of the removal order but before an indictment was returned, hereinafter referred to as the “pre-indictment period”; and (2) December 11, 2010 through December 21, 2010, when ICE detained him between the dismissal of the first indictment for improper venue and the re-initiation of the criminal proceeding in the proper venue, hereinafter referred to as the “post-indictment period.”
On May 20, 2013, Zavala filed a petition for a writ of habeas corpus pursuant to 28 U.S.C. § 2241, claiming improper denial of sentencing credit because he had “been in official custody of the federal government since September 20, 2010.” A magistrate denied sentencing credit for both periods of detention by ICE, and the district court adopted in full the magistrate’s report and recommendation. Zavala appealed.
II.
Zavala contends that the district court erred in concluding that detention by immigration authorities never constitutes “official detention” within the meaning of § 3585(b), the statute governing the calculation of a term of imprisonment. We review the district court’s denial of a habeas petition de novo, while we review any underlying factual findings for clear error. Reynolds v. Thomas, 603 F.3d 1144, 1148 (9th Cir.2010), abrogated on other grounds by Setser v. United States, — U.S.-, 132 S.Ct. 1463, 182 L.Ed.2d 455 (2012). We review questions of statutory interpretation de novo. United States v. Thompson, 728 F.3d 1011, 1015 (9th Cir.2013); Phoenix Mem’l Hosp. v. Sebelius, 622 F.3d 1219,1224 (9th Cir.2010).
A.
Title 18 U.S.C. § 3585 governs'the calculation of the length of a federal criminal sentence. Under the statute, a term of imprisonment begins “on the date the defendant is received in custody awaiting transportation to, or arrives voluntarily to commence service of sentence at, the official detention facility at which the sentence is to be served.” § 3585(a). The statute then provides that the defendant is entitled to sentencing credit for time spent in “official detention” prior to the commencement of the term of imprisonment:
Credit for prior custody. — A defendant shall be given credit toward the service of a term of imprisonment for any time he has spent in official detention prior to the date the sentence commences—
(1) as a result of the offense for which the sentence was imposed; or
(2) as a result of any other charge for which the defendant was arrested after the commission of the offense for which the sentence was imposed;
[371]*371that has not been credited against another sentence.
§ 3585(b). The statute does not define “official detention.”
When interpreting a statute, “[w]e start, as always, with the language of the statute.” Williams v. Taylor, 529 U.S. 420, 431, 120 S.Ct. 1479, 146 L.Ed.2d 435 (2000). In so doing, “[w]e give the words of a statute their ‘ordinary, contemporary, common meaning,’ absent an indication Congress intended them to bear some different import.” Id. Under the plain text of the sentencing credit statute, when ICE detains an alien for the purpose of securing his presence at a potential criminal prosecution and the alien is indeed criminally prosecuted and sentenced, this period of detention by ICE is “as a result of the offense for which the sentence was imposed.” § 3585(b)(1). The “as a result of’ formulation denotes a causal relationship. When ICE detains an alien pending a potential criminal prosecution, electing to defer deportation until the conclusion of such criminal proceedings (and often until after service of the criminal sentence), that period of ICE detention is causally attributable to the criminal offense rather than to ICE’s authority to detain an alien pending deportation. Under the plain meaning of the words, detention is the holding of aliens in custody (which the immigration statutes expressly describe as “detention”),4 and ICE is' without question an official entity. Pending prosecution means the time during which the alien is detained for the purpose of securing his presence at a potential criminal prosecution, whereas pending deportation means detention for the purpose of removing him from the country.
The legislative history of § 3585 does not shed any additional light on whether ICE detention pending criminal prosecution constitutes “official detention,” but similarly it does not contain any indication that Congress intended the statute’s words to have a different import than their plain meaning.5 Thus, we conclude that the relevant inquiry to determine whether a period of ICE detention constituted “official detention ... as a result of the offense for which the sentence was imposed” is whether the detainee was being held pending a potential criminal prosecution, rather than pending deportation in the ordinary course — that is, whether the alien’s detention status had changed from pending deportation, which it was at the time he was first detained, to pending prosecution.
A number of considerations support our interpretation of the statute as having the meaning its plain words afford it. First, issues of sentencing credit arise only in cases in which the alien has in fact been [372]*372criminally prosecuted and convicted, so the scope of our holding is necessarily circumscribed. In such cases, we always know that the government elected to pursue criminal prosecution, rather than to attempt to deport the alien forthwith. Otherwise, there would be no criminal sentence to credit. The only question is when the alien’s detention status changed from detention pending deportation to detention pending potential prosecution.
Second, federal immigration officers and federal prosecutors work together closely to facilitate criminal prosecutions of aliens. See 8 U.S.C. § 1226(d)(1) (requiring cooperation between the Attorney General and federal, state, and local authorities “with respect to the arrest, conviction, and release of any alien charged with an aggravated felony”); United States Customs and Border Protection Inspector’s Field Manual § 18.11 (2008) (providing detailed instructions to immigration officers regarding development of a case for criminal prosecution in cooperation with U.S. Attorneys); United States Immigration and Customs Enforcement Detention and Deportation Officer’s Field Manual § 14.8 (2006) (providing instructions on preserving a case for criminal prosecution after reinstatement of removal). It is typically ICE’s referral of a case to a U.S. Attorney that prompts the filing of charges for an immigration-status offense, and it is ICE’s delay of deportation and delivery of the alien to the U.S. Attorney that enables criminal proceedings to occur. Indeed, the record in this case is illustrative of the fact that prosecutions for immigration-status crimes are a collaborative effort by immigration officers and prosecutors: the only evidence supporting the criminal complaint against Zavala filed in the Central District of California was an affidavit by an ICE deportation officer.
Given that prosecutions for immigration-status crimes result from cooperative efforts between the two sets of officials, it would be arbitrary to afford sentencing credit when the government elects to hold a defendant in USMS detention while it builds its criminal case but not when the government elects to hold a defendant in ICE detention while it does so. Under the district court’s hardline rule that immigration detention never constitutes “official detention,” two identically , situated defendants would serve sentences of differing lengths based solely on the federal government’s election of ICE rather than USMS detention pending potential criminal prosecution. Individuals in immigration detention, unlike those in USMS detention, could be subjected to lengthy periods of detention with no offsetting sentencing credit. Further underscoring the arbitrariness of a blanket rule denying sentencing credit any time aliens are in ICE detention is the fact that BOP itself has afforded credit to aliens held in state detention pending federal prosecution, see § 3585(b)(2); U.S. Dept. of Justice, Bureau of Prisons Program Statement No. 5880.28, 1-14A, 1-21 (Feb. 14, 1997); Abpikar v. Lompoc Federal Bureau of Prisons, No. CV 12-00827 MMM, 2012 WL 3777156, at *2 (C.D.Cal. July 16, 2012), adopting report & recommendation, 2012 WL 3776499 (C.D.Cal. Aug. 30, 2012), and ICE detention often occurs in a state facility. See, e.g., Galan-Paredes v. Hogsten, No. 1:CV-06-1730, 2007 WL 30329, *1 (M.D.Pa. Jan. 3, 2007) (defendant held in county jail in ICE detention status). In other words, two individuals could receive different sentencing credit and thus serve different length sentences based solely on which agency was nominally in charge of their detention in the same facility.6
[373]*373B.
The Government makes four arguments in support of its contention that a defendant is never entitled to sentencing credit for time spent in ICE detention: (1) that Supreme Court precedent interpreting § 3585(b) in the context of pretrial release under the Bail Reform Act controls the instant case; (2) that BOP’s interpretation of § 3585(b) precludes sentencing credit for any and all time spent in immigration detention; (3) that sentencing credit is inappropriate because deportation proceedings are classified as civil; and (4) that requiring BOP to work with ICE to calculate sentences would be unworkable. We reject these arguments!
The Government argues that Reno v. Koray, 515 U.S. 50, 115 S.Ct. 2021, 132 L.Ed.2d 46 (1995), controls the instant case, but Koray’s holding was far narrower. The question presented to the Court by the grant of certiorari was “whether a federal prisoner is entitled to credit against his sentence under § 3585(b) for time when he was ‘released’ on bail pursuant to the Bail Reform Act of 1984,” and the Court held that release on bail to a private community treatment center. did not constitute “official detention.” Id. at 54, 65, 115 S.Ct. 2021. Although the release on bail at issue in Koray included restrictive conditions, it was clear that under the terms of the Bail Reform Act the defendant was “released” from official detention to a private facility. Id. at 59, 115 S.Ct. 2021. In the instant case, it is equally clear that under the relevant statutes, detention by immigration officials constitutes “detention” and not “release.” See 8 U.S.C. §§ 1226(a)(l)-(2), 1231(a)(2).7
Despite dicta to the effect that official detention meant detention in a facility,under the control of BOP, see 515 U.S. at 58, 115 S.Ct. 2021, Koray had no occasion to address immigration detention, and it expressly declined to reach cases in which a defendant is held in detention in an official facility not operated or controlled by BOP. The Court expressly stated that “BOP often grants credit under § 3585(b) for time spent in state custody, even though the defendant was not subject to the control of BOP. These situations obviously are not governed by reference to a [Bail Reform Act] § 3142 ‘release’ or ‘detention’ order. ... [B]ecause the only question before us is whether a defendant is in ‘official detention’ under § 3585(b) during the time he is ‘released’ on bail pursuant to the Bail Reform, Act of 1981, we need not and do not rule here on the propriety of BOP’s decision to grant credit under § 3585(b) to a defendant who is denied bail pursuant to state law and held in the custody of state authorities.” 515 U.S. at 63 n. 5, 115 S.Ct. 2021 (citation omitted).8 A fortiori, Koray [374]*374did not determine that immigration detention must be under the control of BOP in order to constitute “official detention”; rather, it left open the question we now answer: whether detention by immigration officials can constitute “official detention.” We conclude that it can and that in this case it does.9
Next, the Government argues that BOP’s Program Statement interpreting § 3585(b) precludes sentencing credit for all time spent in immigration custody, and that the Program Statement is entitled to deference. Congress delegated responsibility for the initial computation of sentences to the Attorney General, see United States v. Wilson, 503 U.S. 329, 333, 112 S.Ct. 1351, 117 L.Ed.2d 593 (1992), who has in turn delegated that authority to BOP. See 28 C.F.R. § 0.96. We need not, however, reach the question of administrative deference.10 BOP’s Program State[375]*375ment does not speak to situations in which ICE detains an alien pending criminal prosecution — potential or otherwise. The Government’s claim that the Program Statement establishes a blanket no-credit rule is thus incorrect.
BOP Program Statement 5880.28 provides:
Official detention does not include time spent in the custody of the U.S. Immigration and Naturalization Service (INS) under the provisions of 8 U.S.C. § 1252 pending a final determination of deportability. An inmate being held by INS pending a civil deportation determination is not being held in “official detention” pending criminal charges.
BOP Program Statement 5880.28 at 1-15A (emphasis added). By its text, the BOP Program Statement does not deny sentencing credit for any and all time an alien is held in immigration custody, as the Government contends. At best, it follows the same interpretation that we adopt: a line between detention pending deportation, for which a defendant is not entitled to sentencing credit, and detention pending criminal prosecution, including the filing of criminal charges, for which a defendant is entitled to sentencing credit.11 At worst, the Program Statement is silent as to whether a defendant is entitled to sentencing credit where ICE detains him pending potential criminal prosecution.12 [376]*376Although a number of district courts have relied on the BOP Program Statement to deny sentencing credit for time during which a defendant was held in ICE detention pending deportation proceedings, we do not read these cases as inconsistent with our holding in any respect. First, they engage in only cursory analysis, stating merely that the BOP Program Statement is entitled to deference and that deportation proceedings are classified as civil. Second, these cases all refer to persons being held in custody pending deportation proceedings,13 Thus, these cases do not provide support for the Government’s argument that sentencing credit must be denied when ICE detains an alien pending potential criminal prosecution, as opposed to pending deportation.
The Government also argues that detention by ICE never constitutes “official detention” within the meaning of § 3585(b) because deportation is a civil proceeding. There is no dispute, however, that an alien being held for deportation, a civil proceeding, is not entitled to sentencing credit. The question here is whether an alien held by ICE for the purpose of securing his attendance at a criminal proceeding is entitled to such credit. Thus, the Government’s argument simply misses the point.
The Government’s final argument is that requiring BOP to grant credit for time spent in ICE detention would be an unworkable regime because it would be “extremely difficult if not impossible to administer.” Zavala v. Ives, No. CV 13-3603-JFW(E), 2013 WL 4763839, at *4 (C.D.Cal. Sept. 3, 2013). We reject this argument, for two reasons.
First, a number of district courts have already adopted the interpretation of § 3585(b) that we adopt today and granted credit for time spent in immigration detention pending potential prosecution, including pre-indictment periods as long as near[377]*377ly two months.14 These courts engaged in a fact-based inquiry to determine when the defendant’s detention status changed from detention pending deportation to detention pending criminal prosecution. Courts are wholly competent to adjudicate when' that status change occurred, as it is a factual inquiry that can often be resolved by examining ICE’s administrative records and the ICE officers responsible for an alien’s case. Indeed, BOP has at least on occasion voluntarily undertaken this inquiry itself. See supra note 12.
Second, BOP already grants sentencing credit for time spent in state or foreign custody where that time was not credited to another sentence. See §' 3585(b)(2); Koray, 515 U.S. at 63 n. 5, 115 S.Ct. 2021; BOP Program Statement 5880.28 at 1-14A, 1-21. In order to facilitate the calculation of sentences in such circumstances, BOP has in place a policy for intergovernmental communications to investigate and verify claims of entitlement to sentencing credit. See BOP Program Statement 5880.28 at 1-26 (“Proper documentation will consist of written documentation ... from any law enforcement agency (including probation officers). This includes verified phone, fax, or teletype messages, PSI, Rap Sheet, Booking Sheets, SENTRY, USM Form 129, etc.”). If anything, it should be easier, not harder, to coordinate an information exchange between two federal government actors — BOP and ICE— than it is to coordinate between state and federal or foreign and federal actors.15
The fears that BOP and courts will be unable to administer a system that requires determining whether an alien’s detention constituted detention pending potential criminal prosecution, as opposed to detention pending deportation, are thus without merit. We are confident in BOP’s ability to comply with its statutory mandate with respect to detention by ICE— just as it does with respect to detention by state and foreign governments — and in the courts’ ability to adjudicate disputes over sentencing credit should they arise.
III.
For the forgoing reasons, we hold that an alien is entitled to credit toward his criminal sentence under § 3585(b) for the period during which ICE detained the alien pending potential criminal prosecution. We turn now to application of this principle to the facts of the instant case.
A. Post-Indictment Detention
ICE detained Zavala during the period of time after dismissal of the first indictment for improper venue and before the filing of identical criminal charges in the proper venue. This detention occurred from December 11, 2010 through December 21, 2010. Zavala is clearly entitled to sentencing credit for this post-indictment period of ICE detention because it constituted detention pending criminal prosecution.
Most important, this time period occurred after the Government instituted [378]*378criminal charges. Where ICE retains an alien in custody subsequent to an indictment or the filing of criminal charges and the alien is then convicted of those charges, we hold that the intervening period of detention is presumed to be for the purpose of criminal prosecution and the alien is entitled to sentencing credit.
The Government does not contend that during the. post-indictment period ICE held Zavala pending deportation. The record makes clear that all governmental actors involved always intended that the criminal charges against Zavala be reinstated in the proper venue. The language of the Government’s proposed order of dismissal indicated its intention to refile criminal charges in the proper venue, expressly identifying that venue, and the refiled charges were supported exclusively by an ICE officer’s affidavit. We thus hold that the district court erred when it denied Zavala sentencing credit for the post-indictment period during which ICE detained him pending criminal prosecution.
B. Pre-Indictment Detention
As for the pre-indictment period, Zavala was subject to a reinstated order of removal on his first day in ICE custody, September 20, 2010, and he did not contest this order, meaning ICE could have deported him at any time thereafter. 8 U.S.C. § 1231(a)(5) (stating that “the alien shall be removed under the prior order at any time after the reentry”). ICE nonetheless continued to detain Zavala until October 6, 2010, when he was indicted for illegal reentry.
As we stated earlier, the BOP Program Statement does not bar Zavala from receiving sentencing credit during any period in which he was being detained pending potential prosecution. The record before us, however, does not show whether he was held pending potential criminal prosecution, and if so, for what part of the pre-indictment period. On the one hand, execution of a removal order is not required to be instantaneous, see § 1231(a)(1), and it is therefore possible that Zavala’s continuing detention was related to the process of implementing the deportation order.16 On the other hand, the process of indicting a criminal defendant is ordinarily not a one-day affair. Usually it requires some investigation and deliberation before a decision to indict (or to file a criminal complaint) is made by the criminal authorities, normally the U.S. Attorney’s Office. During that process, federal prosecutors and immigration officials often cooperate in determining whether criminal charges are warranted and particularly in ensuring the alien’s presence at the criminal proceedings. Zavala is entitled to credit for the latter type of detention — detention for the purpose of ensuring his presence at his prosecution— but not for the former type — detention for the purpose of executing the removal order.17 Because the district court erred in [379]*379holding that as a matter of law Zavala could not receive any credit toward his sentence for time spent in ICE detention, it failed to Consider whether that detention was pending deportation or pending potential prosecution. We therefore remand for the district court to determine in the first instance whether and when, during the pre-indictment period, Zavala’s detention status changed from detention pending deportation to detention pending potential prosecution.
We hold that, on remand, the government has the burden of proving that the pre-indictment detention was for the purpose of deportation rather than potential prosecution. This burden is justified for two reasons. First, it furthers judicial efficiency in light of the “judicial estimate of the probabilities of the situation.” 2 McCormick on Evidence ■ § 337 (7th ed.2013). After all, we know how this story ends: Zavala was not deported, but prosecuted. This is so in all sentencing credit cases arising under § 3585(b). In such cases, it is always clear that at some point in time the government elected to pursue the possibility of prosecution, rather than to deport the alien in the normal course. Had it chosen otherwise, the question of credit toward a criminal sentence would not arise. In other words, the most likely outcome is that the alien is entitled to some sentencing credit beyond that credited from the date on which the indictment or formal charges were filed.
Second, evidence as to the reason for an alien’s detention “is peculiarly accessible to one of the parties,” Edmund M. Morgan, Instructing the Jury Upon Presumptions and Burden of Proof 47 Harv. L.Rev. 59, 79 (1933). The government unquestionably has superior access to the critical information — i.e. reports of investigation by ICE officers, records of the criminal investigation component of ICE, sworn statements by investigating officers, the time and contents of communications between ICE officers and prosecutorial agencies, and so forth — the information that is determinative of when an alien’s detention status changed from detention pending deportation to detention pending potential prosecution. The fact-finding required on remand is not some amorphous “inquiry into the elusive intent of individual [ICE] officers,” as the dissent contends. Dissent at 12. Rather, it is primarily a matter of . reviewing records that ICE already maintains in the ordinary course of its operations. For example, the government could meet its burden of proving that pre-indictment detention was for the purpose of deportation rather than potential prosecution by producing evidence that proceedings to determine deportability were actively being pursued, or, where a final removal order has already been obtained (as in this case), that it was in the process of making logistical arrangements for the detainee’s departure from the country, and that it was not merely awaiting action by the U.S. Attorney’s Office or helping build a criminal case.18
We accordingly remand for the district court to conduct an evidentiary hearing. The relevant question on remand is wheth[380]*380er the Government can establish that Zavala’s detention from September 20, 2010 to October 5, 2010 was not for the purpose of potential prosecution.
IV.
We hold that when immigration officials detain an alien pending potential prosecution, the alien is entitled under § 3585(b) to credit toward his criminal sentence. We also hold that an alien is entitled to credit for all time spent in ICE detention subsequent to his indictment or the filing of formal criminal charges against him. Finally, we hold that where a factual dispute exists, the district court must hold an evidentiary hearing as to whether an alien’s detention by ICE prior to the date of his indictment or the filing of criminal charges against him constituted detention pending prosecution.
REVERSED AND REMANDED.