The Legislature finds and declares the following:
The purpose of this article is to provide for the defense of those indigent defendants who have been found by a court to be unable to pay for their defense or representation in a trial or appellate court proceeding. When a court determines that a person is unable to pay for his or her defense, it shall be the responsibility of the court, subject to the establishment of the Office of Indigent Defense Services as set forth in this article, to provide that person with counsel and other necessary expenses of representation.
Ala. Code § 41-4-320 (1975)