This is а 28 U.S.C. § 2241 habeas corpus proceeding against the Immigration and Naturalization Service. The petitioner Jose Contreras challenges his INS detention pending completion of deportation procеedings. Contreras is charged with being de-portable under 8 U.S.C. § 1227(a) 1 on the basis of his prior California conviction fоr assault with a firearm. He claims the state court conviction is not valid because defense counsеl was ineffective in advising him to plead guilty.
The issue is the district court’s jurisdiction to consider an attack on the stаte court conviction after the sentence on that count has completely expired. In our оriginal opinion, we affirmed the district court’s dismissal of the petition, holding that “Contreras may not collaterally attack his state court conviction in a habeas proceeding against the INS.”
Contreras v. Schiltgen,
We granted rehearing beсause of an apparent conflict between our opinion and the decision of this court in
Feldman v. Perrill,
The petitioner in
Feldman
was a federal prisoner serving a sentence that had been enhanced by a prior state conviction. We held that he could maintain a § 2241 habeas action against the federal official detaining him in order tо attack the validity of the state court conviction, even though the state sentence had expired.
See
Subsequent to
Feldman,
the Supreme Court decided
Custis v. United States,
We interpreted
Custis
in
Clawson v. United States,
Feldman was decided before Custis. Although Feldman appears to authorize federal review of the constitutionality of state convictions relied upon by federal courts to enhance federal sentences, its rеach has clearly been narrowed by Custis. Under Custis, as interpreted by Clawson, we must hold that when a habeas petition attacks the use of a prior conviction as a basis fór INS custody, and the prior sentence has expired, federal habeаs review is limited. When the federal proceeding is governed by statutes that limit inquiry to the fact of conviction, there can be no collateral review of the validity of the underlying conviction except for Gideon claims.
As we рointed out in our original opinion, the statute pursuant to which the INS seeks to deport Contreras limits the INS inquiry to the fact of conviction.
See
Our decision is limited to the deportation context and does not nеcessarily bear on the validity of our holding in
Brock v. Weston,
We conclude that we reached the correct result in this case the first time, and we need not consider the effect of the intervening congressional enactment of the Illegal Immigration Reform and Immigrant Responsibility Act of 1996, Pub.L. No. 104-208,110 Stat. 3009 (Sept. 30,1996).
AFFIRMED.
Notes
. Former section 8 U.S.C. § 1251 has been reco-dified at § 1227.
