"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 14 April of that year.