If the applicant is unable to pay court costs and expenses of representation, including stenographic, printing, witness fees and expenses, and legal services, these costs and expenses, and a court-appointed attorney may be made available to the applicant in the preparation of the application, in the trial court, and on appeal, and paid, on order of the district court, by the county in which the application is filed.
Idaho Code § 19-4904