They made him treasurer because they considered him as honest. Honest in the sentence is an adjective; an is not required unless the last word is man , in which case it would be an honest man.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.