Clyde Elrod filled an application for the writ of habeas corpus against the respondent warden in which he asserts that he plead guilty to an accusation for motor vehicle theft under Code Ann. § 26-1813 (Ga. L. 1968, pp. 1249, 1295; 1969, pp. 857, 861) which did not charge him with a second offense. Therefore, he contends that he should have been sentenced as a first offender and should have received a sentence of one to seven years instead of the ten years which was imposed on him as a second offender.
The evidence and the record show that the appellant was represented by counsel, was fully advised of all of his rights including the fact that he could receive a sentence of ten years, and that he waived indictment and plead guilty before the trial court. The accusation on which he *877 was sentenced shows on its back that for the first offense, the penalty was three to seven years or misdemeanor punishment, for the second offense, five to ten years, and for the third offense, ten to twenty years. The trial judge sentenced the appellant to ten years.
In
Black v. Caldwell,
In
Studdard v. State,
The
Black
and
Studdard
cases were based on indictments and this case is on a plea of guilty to an accusation. Although an accusation can be amended
(Cook v. Walker,
The habeas corpus court is, therefore, directed to enter an order vacating the sentence given the appellant *878 as a second offender and is directed to remand the case to the Mitchell County Superior Court for resentencing of the appellant by the trial court as a first offender.
Judgment reversed with direction.
