OPINION
Marco Garcia-Echaverria (“Garcia-Echaverria”), pro se Petitioner-Appellant, appeals the district court’s denial of his petition for habeas corpus relief. Garcia-Echaverria was sentenced for a conviction of unlawful reentry, in violation of 8 U.S.C. § 1326(b), and the Immigration and Naturalization Service (“INS,” now the Department of Homeland Security “DHS,”) has reinstated the prior Final Order of Removal. On appeal, Garcia-Echaverria argues that his initial removal was unlawful, and therefore that his current detention is unconstitutional. Garcia-Echaverria contends that his initial removal was unlawful because the Immigration Judge (“IJ”) and the Board of Immigration Appeals.(“BIA”) erred by concluding that Garcia-Echaver-ria’s Kentucky drug conviction constitutes an “aggravated felony,” making him ineligible for relief from deportation/removal. 1 Garcia-Echaverria also argues that his initial removal was unlawful because (1) the line that 8 U.S.C. § 1182(h) draws between illegal aliens (“non-LPRs”) and lawful permanent residents (“LPRs”) violates the Equal Protection Clause of the Fifth Amendment; and (2) application of the provisions of the Antiterrorism and Effective Death Penalty Act of 1996 (“AEDPA”) and the Illegal Immigration Reform and Immigrant Responsibility Act of 1996 (“IIRIRA”), which make Garcia-Echaver-ria ineligible for relief from deportation/removal, raises retroactivity concerns. 2
For the following reasons, we AFFIRM the district court’s decision denying Garcia-Echaverria’s petition for habeas corpus relief.
I. BACKGROUND
Garcia-Echaverria, a native and citizen of Mexico, entered the United States on or *510 about January 1, 1980, and became a lawful permanent resident on or about January 26, 1990. 3 On January 6, 1997, Garcia-Echaverria was convicted by the State of Kentucky pursuant to a guilty plea, entered on December 16, 1996, to the charge of “Trafficking Marijuana over 8 ounces, less than 5 pounds,” in violation of K.R.S. 218A.1421(3). Joint Appendix (“J.A.”) at 141-42. On January 10, 1997, the Kentucky Circuit Court sentenced Garcia-Echaverria to five years of imprisonment for his Kentucky drug conviction.
On May 13, 1997, the INS issued Garcia-Echaverria a Notice to Appear, charging that he was removable due to his Kentucky drug conviction under two sections of the Immigration and Nationality Act (“INA”)— § 237(a)(2)(A)(iii) (codified as 8 U.S.C. § 1227(a)(2)(A)(iii)) for being convicted of an “aggravated felony” and § 237(a)(2)(B)(i) (codified as 8 U.S.C. § 1227(a)(2)(B)®) for being convicted of a controlled substance offense. On September 7, 1999, an IJ ordered Garcia-Echav-erria removed from the United States. On July 20, 2000, the BIA dismissed Garcia-Echaverria’s appeal, finding that a waiver of inadmissibility pursuant to § 212(c) of the INA (originally codified as 8 U.S.C. § 1182(c), but repealed by the IIRIRA, 104 Pub.L. No. 104-208, § 304(b), 110 Stat. 3009 (1996)), was not available to him, and that he was statutorily ineligible for cancellation of removal pursuant to § 240A(a) of the INA (codified at 8 U.S.C. § 1229b).
Garcia-Echaverria was found in the United States on August 31, 2001, when he was stopped for speeding by officers of the Ohio Highway Patrol at Fremont, Ohio. On October 3, 2001, a grand jury returned a one-count indictment, charging Garcia-Echaverria with being an alien found in the United States on or about August 31, 2001, after having been deported for committing an “aggravated felony” and without obtaining permission to reenter from the Attorney General, in violation of 8 U.S.C. § 1326(b). After his motions to dismiss the indictment were denied, Garcia-Echaverria pleaded guilty on September 10, 2002, to the charge of unlawful reentry, and the district court sentenced him to thirty-seven months of imprisonment. Prior to pleading guilty, Garcia-Echaverria filed on May 3, 2002, in the Northern District of Ohio, a petition for a writ of habeas corpus challenging his current detention. On December 30, 2002, the district court denied Garcia-Echaver-ria’s petition for habeas corpus. Garcia-Echaverria filed a timely notice of appeal.
II. JURISDICTION
The district court had jurisdiction over Garcia-Echaverria’s habeas petition pursuant to 28 U.S.C. § 2241. Garcia-Echaverria filed both a direct appeal of his conviction for unlawful reentry and a habeas petition challenging his current detention. Typically, a federal prisoner may file a § 2241 petition contesting the legality of his detention only if his claim is such that he cannot obtain effective relief on direct appeal or through a § 2255 motion.
Paulino v. United States,
This court has jurisdiction over the appeal pursuant to 28 U.S.C. §§ 1291 and 2253. Subsequent to this case being submitted on the briefs, Garcia-Echaverria completed his sentence for his § 1326(b) conviction, and Garcia-Echaverria is currently being detained by the DHS pending his removal. Garcia-Echaverria’s completion of his criminal sentence neither deprives us of jurisdiction over this appeal nor moots the claims asserted in the habe-as petition that we are reviewing in this appeal.
Rosales-Garcia v. Holland,
III. ANALYSIS
Garcia-Echaverria argues that the BIA erred by concluding that his Kentucky drug conviction was an “aggravated felony,” making him both deportable and ineligible for relief from deportation/removal. Although Garcia-Echaverria concedes that his drug conviction is a felony under Kentucky law, he argues that it does not constitute an “aggravated felony” within the meaning of 8 U.S.C. § 1101(a)(43)(B) because the offense to which he pleaded guilty did not contain a trading or dealing element nor would it have been punishable as a felony under federal law.
The BIA correctly determined that Garcia-Echaverria’s Kentucky drug conviction constitutes an “aggravated felony” within the meaning of the INA. The term “aggravated felony” is defined through a list of qualifying offenses, which includes: “illicit trafficking in a controlled substance (as defined in section 802 of Title 21), including a drug trafficking crime (as defined in section 924(c) of Title 18).” 8 U.S.C. § 1101(a)(43)(B). In § 924(c), “the term ‘drug trafficking crime’ means any felony punishable under the Controlled Substances Act (21 U.S.C. 801 et seq.),” or one of two other federal acts not relevant here. 18 U.S.C. § 924(c)(2).
*512
There is some conflict regarding what elements must be present in order for a state offense to constitute a drug-trafficking crime within the meaning of 8 U.S.C. § 1101(a)(43)(B). United States Sentencing Guideline (“U.S.S.G.”) § 2L1.2 requires a sentencing enhancement to be imposed for the crime of unlawful reentry, if the alien was deported after having committed a drug-trafficking crime. Several circuits have held that in the sentencing context, the phrase “drug trafficking crime” includes offenses that would be punishable under the Controlled Substances Act (or two other federal acts not relevant here), so long as the offense is punishable as a felony under either state or federal law.
Gerbier v. Holmes,
The Third Circuit has defined 8 U.S.C. § 1101(a)(43)(B) differently for deportation purposes. Id. According to the Third Circuit,
The BIA has interpreted § 924(c)(2) to require that, for deportation purposes, a state drug conviction, whether it be a felony or a misdemeanor, must either contain a “trafficking” component or be punishable as a felony under federal law in order for it to constitute an ‘aggravated felony.’ In contrast, several Courts of Appeals have interpreted the same language in § 924(c)(2), albeit in the Sentencing Guidelines context, to require that the state drug conviction need only be a felony under state law and that the state crime be punishable under the federal Controlled Substances Act, either as a felony or a misdemeanor.
Gerbier,
Under the BIA’s approach, a state drug conviction constitutes an “aggravated felony” under either of two routes. Under the first route, a felony state drug conviction is an “aggravated felony” under § 924(c)(2) if it contains a trafficking element. Under the second route, a state drug conviction, either a felony or a misdemeanor, is an “aggravated felony” if it would be punishable as a felony under the Controlled Substances Act.
Id.
We have not taken a position, in either the Sentencing Guidelines context or the removal context, regarding what elements must be present in order for a state crime to constitute a drug-trafficking crime within the meaning of 8 U.S.C. § 1101(a)(43)(B), although we have held that at a minimum, a state conviction resulting from the sale of drugs for money qualifies.
Nakhleh v. INS,
Garcia-Echaverria’s conviction may not constitute an “aggravated felony” under the “trafficking” route. Garcia-Echaver-ria pleaded guilty to K.R.S. 218A.1421(3), which provides:
Trafficking in eight (8) or more ounces but less than five (5) pounds of marijuana is:
(a) For a first offense a Class D felony.
(b) For a second or subsequent a Class C felony.
*513
For purposes of K.R.S. 218A.1421, the term “traffic” “means to manufacture, distribute, dispense, sell, transfer, or possess with intent to manufacture, distribute, dispense, or sell a controlled substance.” K.R.S. 218A.010(28). It is undisputed that Garcia-Echaverria’s conviction was a felony under Kentucky law, but the parties disagree over whether the offense contained a trafficking element. According to the Third Circuit, trafficking requires “unlawful trading or dealing of a controlled substance.”
Gerbier,
Garcia-Echaverria’s conviction, however, constitutes an “aggravated felony” under the “hypothetical federal felony” route, making him both removable and ineligible for relief from removal. Although Garcia-Echaverria asserts that the proper federal analogue for his Kentucky drug conviction is 21 U.S.C. § 844, an examination of the applicable statutes indicates that the proper analogue is actually 21 U.S.C. § 841(b). Section 844(a) provides:
It shall be unlawful for any person knowingly or intentionally to possess a controlled substance unless such substance was obtained directly, or pursuant to a valid prescription or order, from a practitioner, while acting in the course of his professional practice.... Any person who violates this subsection may be sentenced to a term of imprisonment of not more than 1 year, and shall be fined a minimum of $1,000, or both ....
Section 841(a)(1) makes it unlawful to knowingly or intentionally, “manufacture, distribute, or dispense, or possess with intent to manufacture, distribute, or dispense, a controlled substance.” (emphasis added). Section 841(b)(1)(D), the applicable penalty provision, further provides:
In the case of less than 50 kilograms of marihuana ... such person shall, except as provided in paragraphs (4) and (5) of this subsection, be sentenced to a term of imprisonment of not more than 5 years, a fine not to exceed the greater of that authorized in accordance with the provisions of Title 18, or $250,000 if the defendant is an individual ....
To be convicted pursuant to KRS 218A.1421(3), Garcia-Echaverria must have, at a minimum, possessed with an intent to distribute, etc. between eight ounces and five pounds of marijuana. Therefore, Garcia-Echaverria was punishable pursuant to 21 U.S.C. § 841(b)(1)(D), which carries a maximum punishment of five years, and thus constitutes a felony pursuant to 18 U.S.C. § 3559, which provides that a federal offense is a felony if its maximum penalty is greater than one year.
It is true that § 841(b)(4) provides: *514 (emphasis added). Garcia-Echaverria did not assert in his appellate brief that he falls within this escape-hatch provision. Moreover, we conclude that his Kentucky drug conviction, which involved at least eight ounces of marijuana, does not fall within this provision, 5 and thus the proper federal analogue for Garcia-Echaverria’s Kentucky drug conviction is § 841(b)(1)(D). Therefore, Garcia-Echav-erria’s Kentucky drug conviction constitutes an “aggravated felony” under this route. 6
*513 Notwithstanding paragraph (1)(D) of this subsection, any person who violates subsection (a) of this section by distributing a small amount of marihuana for no remuneration shall be treated as provided in section 8kk of this title and section 3607 of Title 18.
*514 Next, Garcia-Echaverria argues that denying him relief from deportation/removal pursuant to 8 U.S.C. § 1182(h) violated his rights under the Equal Protection Clause of the Fifth Amendment. Although Garcia-Echaverria concedes that statutes that draw distinctions between different classes of aliens are subjected only to rational review, he argues that the distinction that 8 U.S.C. § 1182(h) draws between LPRs and nonLPRs is not rationally related to any legitimate government interest.
It is true that 8 U.S.C. § 1182(h) treats differently LPRs and non-LPRs, in that it allows the Attorney General to grant an adjustment of status to some non-LPRs who have been convicted of an “aggravated felony,” but prohibits the Attorney General from granting relief to LPRs who have been convicted of an “aggravated felony.” While a district court in our circuit has held that this distinction violates equal protection,
Roman v. Ashcroft,
We have not yet ruled on this issue, and we may not do so in this case because Garcia-Echaverria does not have standing raise this challenge. Section 1182(h) allows the Attorney General to grant an adjustment of status to some non-LPRs who have been convicted of certain crimes, including a violation of a law relating to a controlled substance, but only “insofar as it relates to a single offense of simple possession of 30 grams or less of marijuana.” See 8 U.S.C. § 1182(a)(2)(A)(i)(II) and (h). In 1996, § 348 of the IIRIRA amended 8 U.S.C. § 1182(a) to prohibit the Attorney General from granting a similar waiver to LPRs. 7 Garcia-Echaverria was *515 convicted of possession with intent to distribute at least eight ounces of marijuana; therefore, he would not have been eligible for an adjustment of status, even if he were a non-LPR, and regardless of the limitation imposed by § 348 of the IIRI-RA. Because Garcia-Echaverria would not have been eligible for an adjustment of status even if he were a non-LPR, he lacks standing to raise this challenge.
Garcia-Echaverria also argues that denying him the opportunity to apply for a waiver of deportation pursuant to § 212(c) of the INA had an impermissible retroactive effect because he committed his Kentucky drug offense prior to the repeal of that provision by the IIRIRA.
It is true that
INS v. St. Cyr,
IV. CONCLUSION
For the forgoing reasons, we AFFIRM the district court’s denial of Garcia-Echav-erria’s petition for a writ of habeas corpus.
Notes
. The Illegal Immigration Reform and Immigrant Responsibility Act of 1996 (‘TIRIRA’') adopted “the term 'removal/ which essentially eliminated a distinction that formerly existed between 'deportation' proceedings and 'exclusion proceedings.' Thus, a determination whether an alien is 'inadmissible' (i.e., cannot, or did not, enter the country lawfully), or 'deportable' (i.e., entered the country lawfully but is no longer entitled to stay), would be determined through 'removal' proceedings.”
Balogun v. U.S. Att’y Gen.,
. In his appeal of the district court’s denial of his habeas petition, Garcia-Echaverria also argues that his initial removal was unlawful because the INS removed him while his Kentucky drug conviction was on direct appeal, while his appeal of the BIA’s order of removal and his motion for a stay of removal were pending before the United States Court of Appeals for the Fifth Circuit, after the United States District Court for the Southern District of New York ("S.D.N.Y.”) had transferred his habeas petition to the United States District Court for the Western District of Louisiana, and after the S.D.N.Y. had issued a stay of removal. These issues are discussed fully in United States v. Garcia-Echaverria, 03-3655, Garcia-Echaverria's direct appeal of his conviction for unlawful reentry.
. In this opinion, we recount only the facts relevant to the issues we are addressing solely in Garcia-Echaverria’s appeal of the district court’s denial of his habeas petition. Our opinion in United States v. Garcia-Echaverria, 03-3655, includes a more complete statement of facts, including those bearing on issues that Garcia-Echaverria raised in both his direct appeal of his conviction for unlawful reentry and his appeal of the denial of his habeas petition.
. Because Garcia-Echaverria was convicted of unlawful reentry, he had the opportunity in his direct appeal to attack collaterally the legality of his prior deportation. We con-elude, however, that the district court's jurisdiction over a § 2241 petition should not turn upon the particular crime of which the petitioner has been convicted.
. We have no binding precedent defining “small amount” within the meaning of § 841(b)(4). Garcia-Echaverria, however, possessed at least eight ounces, which is not a "small amount.” The escape-hatch provision is designed to address the casual sharing of marijuana; behavior that is akin to mere possession rather than distribution. Although distribution of eight ounces of marijuana may be a small-scale drug transaction, distribution of eight ounces is more than casual sharing.
.
But see Wilson v. Ashcroft,
.Section 348(a) of the IIRIRA provides: "No waiver shall be granted under this subsection in the case of an alien who has previously been admitted to the United States as an alien lawfully admitted for permanent residence if either since the date of such admission the alien has been convicted of an aggravated felony or the alien has not lawfully resided continuously in the United States for a period of not less than 7 years immediately preceding the date of initiation of proceedings to remove the alien from the United States. No court shall have jurisdiction to review a deci *515 sion of the Attorney General to grant or deny a waiver under this subsection.” IIRIRA, Pub.L. No. 104-208, § 348(a), 110 Stat. 3009 (1996). This limitation became effective immediately upon the enactment of the IIRIRA in September 1996. See id. at § 348(b).
At the time Garcia-Echaverria committed his offense conduct on May 31, 1996, and when he pleaded guilty of December 16, 1996, the Attorney General was prohibited from granting a waiver to aliens who had been convicted of a controlled substance offense, except for simple possession of less than thirty grams of marijuana. 8 U.S.C. § 1182(h)(l 995).
Although it does not appear that Garcia-Echaverria has raised a retroactivity argument regarding § 348 of the IIRIRA, any such argument would be without merit due to the fact that he was ineligible for such relief prior to the enactment of the IIRIRA.
. We note that the Supreme Court's retroac-tivity analysis in
St. Cyr,
. Prior to the enactment of the AEDPA, § 212(c) of the INA (codified at 8 U.S.C. § 1182(c)(1995)) allowed the Attorney General to exercise his discretion and waive the deportation of a lawful permanent resident alien, meeting certain requirements, who was excludable by reason of having committed an "aggravated felony,” except the Attorney General had no discretion to admit:
an alien who has been convicted of one or more aggravated felonies and has served for such felony or felonies a term of imprisonment of at least 5 years.
8 U.S.C. § 1182(c)(l995);
St. Cyr,
Section 440(d) of the AEDPA narrowed the Attorney General's discretion, prohibiting the Attorney General from waiving the deportation of a lawful permanent resident, who was excludable by reasons of having committed "any criminal offense covered in section 241(a)(2)(A)(iii) ["aggravated felony”], (B) [controlled substance conviction],” etc., regardless of whether he had served five years *516 of imprisonment. AEDPA, Pub.L. No. 104-132, § 440(d), 110 Stat. 1214 (1996); 8 U.S.C. § 1227(a)(2)(A)(iii) and (B).
Section 304 of the IIRIRA repealed § 212(c) of the INA and replaced it with 8 U.S.C. § 1229b, which prohibits the Attorney General from cancelling the removal of an alien who has ever "been convicted of any aggravated felony.” 8 U.S.C. § 1229b(a)(3); IIRIRA, Pub.L. No. 104-208, § 304(a)-(b), 110 Stat. 3009 (1996). With some exceptions not relevant here, this provision did not become effective until April 1, 1997, and by its terms applied to removal proceedings that commenced on or after that date.
Id.
at § 309(a). As discussed in
St. Cyr,
