How does the court appoint Attorneys?

How does the court appoint Attorneys?

Wondering how the court makes the decision to appoint an attorney?  The basic process is that you complete the application prior to your Arraignment and bring it with you to present to the judge.  If the Court determines that you qualify financially, you will be given...