The poem was a result of events at the beginning of the Civil War. During the secession crisis, U.S. President Abraham Lincoln (referred to in the poem as "the despot" and "the tyrant") ordered U.S. troops to be brought to Washington, D.C., to protect the capital and to prepare for war with the seceding southern states. Many of these troops were brought through Baltimore City, a major transportation hub. There was considerable Confederate sympathy in Maryland at the time, as well as a large number of residents who objected to waging a war against their southern neighbors. Riots ensued as Union troops came through Baltimore on their way south in April 1861 and were attacked by mobs. A number of Union troops and Baltimore residents were killed in the Baltimore riots. The Maryland legislature summarized the state's ambivalent feelings when it met soon after, on April 29, voting 53–13 against secession, but also voting not to reopen rail links with the North, and requesting that Lincoln remove the growing numbers of federal troops in Maryland. At this time the legislature seems to have wanted to avoid involvement in a war against its seceding neighbors. The contentious issue of troop transport through Maryland would lead one month later to the Chief Justice of the Supreme Court, also a Marylander, penning one of the United States' most controversial wartime rulings, Ex parte Merryman.