"When Lilacs Last in the Dooryard Bloom'd" is a long poem written by American poet Walt Whitman (1819–1892) as an elegy to President Abraham Lincoln. It was written in the summer of 1865 during a period of profound national mourning in the aftermath of the president's assassination on April 14 earlier that year.