On the record before us we hold that the appellant failed to carry the burden cast by law upon him, and that the court did not err in dismissing appellant's petition for a writ of error coram nobis, and petition for writ of habeas corpus. Behel v. State, supra; Goodman v. State, supra; Thomas v. State, supra; Brown v. State, Ala.Cr.App., 373 So.2d 1232. The judgment of the trial court is due to be and is hereby affirmed.
Thomas v. State, 274 Ala. 531, 532, 150 So.2d 387 (1963) (emphasis added).Ex parte Phillips, 276 Ala. 282, 161 So.2d 485 (1964); Corley v. State, 397 So.2d 223 (Ala.Cr.App.), cert. denied, Ex parte Corley 397 So.2d 225 (Ala. 1981); Brown v. State, 373 So.2d 1232 (Ala.Cr.App. 1979). The petition must contain not only the grounds upon which the petitioner bases his allegations but also the facts which support each ground.
The fact that the defendant pled guilty because he thought he would face the electric chair if he did not is insufficient, in and of itself, to warrant the granting of the writ. Brown v. State, 373 So.2d 1232 (Ala.Cr.App. 1979). The reason a defendant must be advised of the maximum sentence he could receive in pleading guilty is so that his plea will represent a knowing and intelligent choice among known alternatives.
Thus, we find no inadequacy demonstrated. See Taylor v. Alabama, 335 U.S. 252, 68 S.Ct. 1415, 92 L.Ed. 1935 (1948); Thomas v. State, 274 Ala. 531, 150 So.2d 387 (1963); Brown v. State, Ala.Cr.App., 373 So.2d 1232 (1979). Appellant contends that his attorney announced ready for trial when in fact he was unprepared.