Effective June 30, 1865, however, Whitman was fired from his job. His dismissal came from the new Secretary of the Interior, former Iowa Senator James Harlan. Though Harlan dismissed several clerks who "were seldom at their respective desks", he may have fired Whitman on moral grounds after finding an 1860 edition of "Leaves of Grass". O'Connor protested until J. Hubley Ashton had Whitman transferred to the Attorney General's office on July 1. O'Connor, though, was still upset and vindicated Whitman by publishing a biased and exaggerated biographical study, "The Good Gray Poet", in January 1866. The fifty-cent pamphlet defended Whitman as a wholesome patriot, established the poet's nickname and increased his popularity. Also aiding in his popularity was the publication of "O Captain! My Captain!", a relatively conventional poem on the death of Abraham Lincoln, the only poem to appear in anthologies during Whitman's lifetime.