Task: songer_habeas

What follows is an opinion from a United States Court of Appeals.
Your task is to determine whether the case was an appeal of a decision by the district court on a petition for habeas corpus. A state habeas corpus case is one in which a state inmate has petitioned the federal courts.

PER CURIAM.
In the District Court for Massachusetts the appellant’s petition for a writ of habeas corpus was denied for want of jurisdiction. The immigration authorities found that at the time of her entry into the United States the appellant was mentally deficient; that her mental impairment was such as then to render her liable to become a public charge; and ordered her deported. There was substantial evidence to warrant these findings. They are therefore final..
Appeal dismissed.

Question: Was the case an appeal of a decision by the district court on a petition for habeas corpus?
A. no
B. yes, state habeas corpus (criminal)
C. yes, federal habeas corpus (criminal)
D. yes, federal habeas corpus relating to deportation
Answer:

Answer: D