Dissent by Judge McKEOWN
*877OPINION
W. FLETCHER, Circuit Judge:In April 2015, Gilbert Brito filed a motion under 18 U.S.C. § 3582(c)(2) to reduce his sentence for possession of heroin with intent to distribute. Section 3582(c)(2) authorizes a reduction of a defendant’s “term of imprisonment” if the U.S. Sentencing Commission has lowered the applicable guideline range pursuant to 28 U.S.C. § 994(o). In November 2014, the Sentencing Commission had reduced by two most of the offense levels on the Drug Quantity Tables. The effect of the change was to reduce the sentencing guideline range for many drug offenses. Brito’s original guideline range was reduced from 84 to 105 months to a new range of 70 to 87 months. Brito had originally been sentenced to 76 months in federal custody. Brito sought a reduction of his sentence in federal prison to 66 months.
At Brito’s original sentencing, in determining his term of imprisonment, the district court had credited Brito with four months for time he had served in state custody. In his motion for reduction of sentence, Brito sought a similar four-month credit. The district court believed that it was precluded from granting the requested credit by U.S.S.G. § lB1.10(b)(2)(A), which provides in relevant part that a court may not reduce a “term of imprisonment” to a “term that is less than the minimum of the amended guideline range.” The minimum of Brito’s amended guideline range was 70 months. A four-month credit would have reduced the sentence to 66 months in federal custody. The district court did not believe it had the authority to treat Brito’s four months in state custody as part of his “term of imprisonment.” It therefore reduced Bri-to’s sentence to 70 months in federal custody.
For the reasons that follow, we conclude that “term of imprisonment,” as used in 18 U.S.C. § 3582(c)(2) and U.S.S.G. § lB1.10(b)(2)(A), can include time spent in state custody. If the district court at the original sentencing gave credit for time spent in state custody in determining the defendant’s sentence, the “term of imprisonment” on the motion for sentence reduction can include the time spent in both federal and state custody. In the case now before us, the district court in its discretion may give Brito credit for the four months he served in state custody, thereby reducing his sentence to 66 months in federal custody and resulting in a total “term of imprisonment” of 70 months. We vacate and remand.
I. Background
Brito was charged in federal court with possession of heroin with intent to distribute, felony possession of a firearm, and carrying a firearm in furtherance of a drug trafficking crime. Pursuant to a plea agreement, Brito pleaded guilty to a single count of possession of heroin with intent to distribute. The presentence report calculated the base offense level under the Drug Quantity Table as 26 and recommended adjustments resulting in a total offense level of 25. Based on his criminal history category of IV, Brito’s advisory guidelines range was 84 to 105 months. Brito and the government agreed to recommend a sentence of 80 months imprisonment, which took into account a four-month downward variance based on Brito’s guilty plea. Id.
At sentencing in November 2012, Brito’s attorney Thomas Hester asked for a further reduction, from 80 to 76 months, to take into account four months Brito had served in state custody after violating conditions of supervision under a prior Oregon conviction. The conduct constituting the *878state-court violation was the same conduct for which Brito was charged in federal court. Brito had begun serving his four months in state custody after his arrest on federal charges. By the time of his original federal sentencing, Brito had already completed his time in state custody.
The district court accepted the request that Brito be given credit for his four months in state custody. Because Brito had already completed the time, the district court believed that it could not give him a concurrent sentence. See United States v. Turnipseed, 159 F.3d 383, 387 (9th Cir. 1998) (“If a defendant has been released from state prison after having served the term imposed, no term of imprisonment remains with which the federal sentence can ‘run concurrently.’ ”); but see Setser v. United States, 566 U.S. 231, 132 S.Ct. 1463, 1468, 182 L.Ed.2d 455 (2012) (“Judges have long been understood to have discretion to select whether the sentences they impose will run concurrently or consecutively with respect to other sentences that they impose, or that have been imposed in other proceedings, including state proceedings.”). Instead, the district court gave him credit for time served, thereby achieving the same result. At sentencing, the district court asked Brito’s attorney, “Now, just so I’m clear, you’re not asking for concurrent time because the time has run, you’re asking me to drop four months in order to account for the time that’s run; is that right?” After receiving an affirmative answer, the court said, “Mr. Hester is asking that I do what’s often done, which is take into account by way of reduction of time already served essentially for the same criminal conduct. And so I’m going to- do that in this case.” The district court then sentenced Brito to 76 months in federal custody, resulting in a total term of-imprisonment, in state and federal custody, of 80 months.
On November 1, .2014, the Sentencing Guidelines were amended, reducing by two levels the base offense levels for most federal drug possession and distribution crimes. Guidelines Amendment 782 lowered the sentencing range for “offense levels assigned to the quantities that trigger the statutory mandatory minimum penalties in § 2D1.1, and made parallel changes to § 2D1.11.” Guidelines Amendment 788 made Amendment 782 retroactive, allowing prisoners sentenced under the old Guidelines to petition for resentencing under the new Guidelines.
A .reduction in sentence after a reduction in the guideline range is authorized by 18 U.S.C. § 3582(c)(2), which provides;
[I]n the case of a defendant who has been sentenced to a term of imprisonment based on a sentencing range that has subsequently been lowered by the Sentencing Commission pursuant to. 28 U.S.C. § 994(o), ... the court may reduce the term of imprisonment, after considering the factors set forth in section 3553(a) to the extent that they are applicable, if such a reduction is consistent with applicable policy statements issued by the Sentencing Commission.
(Emphases added.) A reduction in sentence under § 3582(c)(2) is not a resen-tencing. As the Supreme Court 'wrote in Dillon v. United States, 560 U.S. 817, 825, 130 S.Ct. 2683, 177 L.Ed.2d 271 (2010):
By its terms, § 3582(c)(2) does not authorize a sentencing or resentencing proceeding. Instead, it provides for the “modification of] a term of imprisonment” by giving courts the power to .“reduce” an. otherwise final sentence in circumstances specified by the Commission.
(Alteration in original.)
The “applicable policy statement ] issued by the Sentencing Commission” provides:
*879In a case in which a defendant is serving a term of imprisonment, and the guideline range applicable to that defendant has subsequently been lowered as a result of an amendment to the Guidelines Manual listed in subsection (d) below, the court may reduce the defendant’s term of imprisonment as provided by 18 U.S.C. 3582(c)(2).
U.S.S.G. § lB1.10(a)(l) (emphases added). Amendment 782 is one of the amendments listed in subsection- (d). A different policy statement limits the permissible reduction in sentence:
Except as provided in subdivision (B), the court shall not reduce the defendant’s term of imprisonment under 18 U.S.C. § 3582(c)(2) and this policy statement to a -term that is less than the minimum of the amended guideline range determined under subdivision (1) of this subsection.
U.S.S.G. § lB1.10(b)(2)(A) (emphasis added.) Subdivision (B) permits a reduction of the term of imprisonment below the minimum of the amended guideline range for a defendant who provided “substantial assistance to authorities.” U.S.S.G. § lB1.10(b)(2)(B). Brito has not provided assistance to authorities that, would qualify under subdivision (B).
Based on Amendment 782, Brito moved for a reduction • in sentence under § 3582(c)(2). Under Amendment 782, the new base offense level for Brito’s offense is 24. His new guideline range is 70 to 87 months. In his motion, Brito sought credit for the four months he had served in state custody in determining his new “term of imprisonment.” The district court recognized that the sentencing court had given Brito a four-month credit at his original sentencing for the time he had served in state custody: “[T]he sentencing court lacked any authority to order a concurrent sentence. Due to this lack of authority, the best explanation for the additional 4-month reduction' Defendant received is that it was a downward variance granted to achieve the functional result of a concur? rent sentence.” However, the district court concluded that it was precluded, in ruling on Brito’s motion for .a reduction in sentence, from giving him credit for the time served in state custody. The district court therefore, reduced Brito’s sentence to 70 months in federal custody.
II. Standard of Review
Section 3582(c)(2) “provides for the ‘modification of] a term of imprisonment’ by giving courts the power to ‘reduce’ an otherwise final sentence in circumstances specified by the Commission.” Dillon, 560 U.S. at 825, 130 S.Ct. 2683 (alteration in original). We review for abuse of discretion a district court’s ruling on a motion under § 3582(c)(2). See United States v. Lightfoot, 626 F.3d 1092, 1094 (9th Cir. 2010). “A district court may abuse its discretion if it does, not apply the correct law or if it rests its decision on a clearly erroneous finding of material fact.” United States v. Chaney, 581 F.3d 1123, 1125 (9th Cir. 2009) (internal quotation marks omitted). Whether a district court can give credit for time previously served in prison is a question of law that we review de novo. See United States v. Peters, 470 F.3d 907, 908-09 (9th Cir. 2006) (per curiam).
III. Discussion
The Sentencing .Guidelines provide a regular procedure for sentencing reductions “in the case of a defendant who has been sentenced to a term , of imprisonment based on a sentencing range that has subsequently been lowered by the Sentencing Commission pursuant to 28 U.S.C. 994(o).” 18 U.S.C. § 3582(c)(2)., District courts must engage in a two-step inquiry to de*880termine if a reduction is appropriate. See Dillon, 560 U.S. at 826, 130 S.Ct. 2683; United States v. Dunn, 728 F.3d 1151, 1155 (9th Cir. 2013). First, a district court must determine whether a prisoner is eligible for a sentence reduction under the Commission’s policy statement in § 1B1.10. See Dillon, 560 U.S. at 827, 130 S.Ct. 2683. Second, a district court must “consider any applicable § 3553(a) factors and determine whether, in its discretion, the reduction authorized by reference to the policies relevant at step one is warranted in whole or in part under the particular circumstances of the case.” Id. We have called these steps the “eligibility prong” and the “discretionary prong.” Dunn, 728 F.3d at 1157. The eligibility prong is at issue in this case.
Under the eligibility prong, the district court must “determine the amended guideline range that would have been applicable to the defendant if the amendment(s) to the guidelines listed in subsection (d) had been in effect at the time the defendant was sentenced ... and shall leave all other guideline application decisions unaffected.” U.S.S.G. § lB1.10(b)(l). Section lB1.10(b)(2)(A) limits the permissible reduction in sentence. It provides, in relevant part, that “the court shall not reduce the defendant’s term of imprisonment under 18 U.S.C. § 3582(c)(2) and this policy statement to a term that is less than the minimum of the amended guideline range determined under subdivision (1) of this subsection.” § lB1.10(b)(2)(A).
The Fair Sentencing Act (“FSA”) was designed to “restore fairness to Federal cocaine sentencing” by eliminating the unfair distinction between crack and powder cocaine. Fair Sentencing Act of 2010, Pub. L. No. 111-220, 124 Stat. 2372 (2010). The Sentencing Commission promulgated policy statement U.S.S.G. § 1B1.10 as part of its implementation of the FSA. In the initial version of § 1B1.10, a cocaine defendant who had received a below-guidelines departure or variance in his original sentence could receive a reduced sentence below the amended guideline range, to a degree comparable to the original below-guidelines sentence. See U.S.S.G. § lB1.10(b)(2) (2010).
The Commission revised the policy statement two years later, adopting the statement that governs this case. See U.S.S.G. § 1B1.10(b)(2) (2012). “Because [§ 1B1.10(b)(2) (2010) ] proved difficult to administer and prompted litigation, the Commission revised § 1B1.10 ... to prohibit courts from reducing a ‘defendant’s term of imprisonment ... to a term that is less than the minimum of the amended guideline range.’ ” United States v. Tercero, 734 F.3d 979, 981-82 (9th Cir. 2013); see also Notice of Final Action Regarding Amendment to Policy Statement 1B1.10, 76 Fed.Reg. 41332, 41334 (July 13, 2011). In United States v. Davis, 739 F.3d 1222 (9th Cir. 2014), we described the Commission’s rationale for adopting the revised policy statement:
In adopting revised § lB1.10(b), the Commission sought to avoid undue complexity and litigation and to promote uniformity in sentences. The Commission was also concerned that retroactively amending the guidelines could result in a windfall for defendants who had already received a departure or variance, especially one that took into account the disparity in treatment between powder and crack cocaine that the FSA sought to correct.
Id. at 1225 (citation omitted); see also U.S.S.G. Manual App’x C, Amend. 759, Reason for Amendment, at 420 (2011) (“The Commission has determined that ... a single limitation applicable to both departures and variances furthers the need to avoid unwarranted sentencing dis*881parities and avoids litigation in individual cases.”).
For the reasons that follow, we conclude that a defendant’s “term of imprisonment,” as used in the statute and the guideline, includes time spent in both state and federal custody. See 18 U.S.C. § 3582(c)(2); U.S.S.G. § lB1.10(b)(2)(A). Our conclusion is consistent with United States v. Drake, 49 F.3d 1438 (9th Cir. 1995), a case in which we determined whether time previously served in state prison should be counted as part of the term of imprisonment for purposes of a federal statutory mandatory minimum. See id. at 1440-41. Anthony Drake had been convicted of armed robbery and had been sentenced to sixty-six months in an Oregon prison. See id. at 1439. While he was serving his state sentence, Drake pleaded guilty in federal court to possession of the handgun used in the Oregon robbery. Because he had previously been convicted of three violent felonies, he was subject to a mandatory minimum of 180 months under 18 U.S.C. § 924(e)(1). See id. Drake and the government agreed to a 188-month federal term of imprisonment.
At the time of his federal sentencing, Drake had fifty-four months yet to serve in state prison. He had already served twelve months. All parties agreed that the federal sentence could run concurrently with the fifty-four months remaining in state custody. The contested issue was whether, in determining the time to be spent in federal custody, Drake could be given credit for the twelve months he had already served in state custody. If he received credit for the twelve months, Drake would serve only 176 months in federal prison, four months less than the federal statutory mandatory minimum. We framed the question as follows: “We thus must determine whether Drake’s state sentence constitutes ‘imprisonment’ for the purposes of 18 U.S.C. § 924(e)(1) such that the total sentence served will satisfy the mandatory minimum.” Id. at 1440 (emphasis added). We concluded that Drake’s twelve months already served in state custody counted as part of his federal term of imprisonment, and that he should therefore be sentenced to 176 months in federal custody. See id. at 1440-41.
We hold here, as we concluded in Drake, that time already served in state custody “constitutes ‘imprisonment’” under the applicable federal law. In Drake, the applicable federal law was the 180-month mandatory minimum specified in § 924(e)(1). Here, the applicable federal law is the reduction in sentence authorized in § 3582(c)(2) and the minimum of the amended guideline range referred to in § lB1.10(b)(2)(A). Because we conclude that the time Brito has already served in state custody is part of his “term of imprisonment” under §§ 3582(c)(2) and § lB1.10(b)(2)(A), we hold that the district court, in making its resentencing determination, has the authority to give credit for the four months Brito already served in state custody.
This understanding of “imprisonment” accords with our understanding of “imprisonment” in Drake. It is also consistent with the Commission’s policy rationale for adopting the current version of § IB 1.10(b)(2), which we described in Davis. Allowing a district court to count time already served in state custody does not return the court and the parties to the complex calculations and lack of uniformity that led to the abandonment of the initial version of § 1B1.10(b)(2). See Davis, 739 F.3d at 1225. Further, counting time already served will not “result in a windfall for defendants who had already received a departure or variance ... that took into account the disparity in treatment between powder and crack cocaine that the FSA *882sought to correct.” Id. A departure or variance based on time already served in state custody is not based on the disparity between powder and crack cocaine. Far from giving a windfall, such a reduction in sentence provides fair treatment to those who have completed their time in state custody and for whom a concurrent sentence is therefore no longer available.
Finally, allowing a district court to count time already served in state custody as part of the “term of imprisonment” under § 1B1.10(b)(2)(A) does not result in a re-sentencing by that court. See Dillon, 560 U.S. at 825, 130 S.Ct. 2683 (“§ 3582(c)(2) does not authorize a ... resentencing proceeding.”). The reduction , in sentence authorized under § 3582(c)(2) and § 1B1.10 rests on the new guideline calculation under Amendment 782. That calculation is the basis — and the only basis — upon which a sentence may be reduced. Section 1B1.10(b)(2)(A) limits the amount by which a sentence may be reduced by specifying thqt the new “term of imprisonment” may be no lower than the minimum of the new guideline range. Defining “term of imprisonment” to include time spent in state custody tells a district court how to understand the limitation imposed s by § lB1.10(b)(2)(A). It does not change the calculation that results in the new guideline range, and it does not transform a reduction in sentence into a resentencing.
Conclusion
We conclude that the district judge had the authority on a motion for sentence reduction to take Brito’s four months in state custody into account in reducing his sentence under 18 U.S.C. § 3582(c)(2). Because the district court reduced Brito’s sentence to' only 70 months, believing it had no authority to reduce it further, we vacate and remand for further proceedings consistent with this opinion.
VACATED and REMANDED.