This is an appeal from an order of the Superior Court of Hall County dismissing appellant’s "Petition for a Writ of Error Coram Nobis” filed against the State of Georgia on December 12,1974. The petition alleged that appellant had been convicted and sentenced "by the Court of this District” for the offense of robbery in October, 1944, and that the conviction was invalid under Gideon v.
*391
Wainwright,
In dismissing the petition, the trial court gave four reasons: That any error in the trial court in 1944 was an error of law, not of fact; that writ of error coram nobis would not lie; that the petition could not be treated as one for writ of habeas corpus because appellant was incarcerated in the United States Penitentiary in Atlanta; and that the sentence imposed in 1944 had long since been completed.
In Parris
v. State,
In
Atkins v. Hopper,
Parris and Atkins resolve all but one of the issues in *392 the case at bar. Appellant’s petition stated no claim for relief by writ of error coram nobis, but it did state a claim for relief by writ of habeas corpus. The name given to the petition by appellant is not binding on him. Since appellant is not incarcerated by Georgia authorities, his petition, treated as one for writ of habeas corpus, may be filed against the state. The question that remains unanswered is whether such petition can be filed in Hall County, the place where he was convicted and sentenced, instead of in Fulton County, the place where he is detained by federal authorities.
A person who is being restrained under a sentence of a state court of record must file his petition in the county where he is detained. Code Ann. §
50-127(3). Neal v. State,
In the present case, petitioner is not serving a state sentence. Therefore, he must bring the petition "where the illegal detention exists.” Code § 50-103. Under Atkins, supra, a person who is not incarcerated anywhere can attack an old conviction, and in such a case the place of restraint, the equivalent of "illegal detention,” would be the place of conviction. That is where the record ultimately will have to be corrected if the petitioner prevails.
But when a petitioner is restrained of his liberty within the federal penal system in the State of Georgia, the venue of his action against the state, in the nature of habeas corpus, is in the superior court of the county where he is incarcerated by federal authorities. Parris v. State, supra.
Judgment of the trial court was correct.
Judgment affirmed.
