he acted as defense counsel of joseph smith and other mormons when they were under indictment