¶2Robert Edwards pleaded guilty to promoting prison contraband in the second degree, in violation of § 13A-10-37, Code of Alabama 1975, and was sentenced to 30 years' imprisonment, under the Habitual Felony Offender Act. He presents two issues for review.
Morning v. State, 416 So.2d 780, 780-81 (Ala.Cr.App. 1982) (emphasis added). See also Randle v. State, 554 So.2d 1124,1126-27 (Ala.Cr.App. 1986), aff'd, 554 So.2d 1131 (Ala. 1987) (quoting Morning). The record discloses that Edwards, at the time the instant charge was brought against him, was incarcerated in an Alabama correctional facility (Red Eagle Honor Farm). Also disclosed is the fact that the charges against him were brought by the State of Alabama, not a state "other than Alabama." We conclude that his argument is unavailing, as he erroneously relies upon a statute that is inapplicable under these facts.¶4 "The sections of the Code relied upon by appellant . . . [relate] exclusively to problems pertaining to interstate extradition. The sections of the Code relied upon are utterly irrelevant to a prisoner in Alabama unless a territory or a state of the United States other than Alabama has lodged in Alabama a detainer against the prisoner. . . ."
Orr v. State, 435 So.2d 182, 184 (Ala.Cr.App. 1983). See alsoEx parte Otinger, 493 So.2d 1362 (Ala. 1986); Blackwell v.State, 556 So.2d 1091 (Ala.Cr.App. 1988); English v. State,56 Ala. App. 704, 325 So.2d 211 (Ala.Cr.App. 1975), cert. denied,295 Ala. 401, 325 So.2d 216 (1976).¶6 "[I]f there is a plea agreement between a defendant and the State and a breach thereof which is made known to the trial court, and if the trial court does not sentence the defendant pursuant to the terms of the plea agreement (or as alleged in the instant case, that the State makes a sentence recommendation contrary to the plea agreement), then the defendant must be given an opportunity, upon proper, timely, and specific motion, to withdraw his guilty plea. At that point, the trial court must review the circumstances surrounding the making of the plea agreement and determine whether . . . a breach occurred. Further, it must decide if the guilty plea rested in any significant degree upon the agreement of the State, so that such can be said to be part of the inducement or consideration and, thus, must be fulfilled. The trial court may hold a hearing and receive testimony to determine the above. Once it makes its findings, the trial court then determines the appropriate remedy, if any. Santobello v. New York, 404 U.S. 257 [92 S.Ct. 495, 30 L.Ed.2d 427] . . . (1971); See Yarber [v. State, 437 So.2d 1330 (Ala. 1983)]."
¶7The record reveals that Edwards's motion to withdraw his guilty plea was proper, timely, and specific. See Johnson v.State, 421 So.2d 1306 (Ala.Cr.App. 1982); A.R.Cr.P.Temp. 13; A.R.App.P. 4(b)(1). However, a thorough review of the record fails to reveal that the trial court determined whether there was, or was not, a breach of the plea bargain agreement by the state, and whether Edwards's guilty plea rested, in any significant degree, on a promise or agreement made by the state. Therefore, this case is remanded to the trial court with directions that these determinations be made and that its findings be filed with the circuit court clerk in sufficient time for the *1262 clerk to make due return to this court at the earliest possible time and within 45 days of the release of this opinion.
¶8REMANDED WITH DIRECTIONS.
¶9All Judges concur.