The theme of the shanty, which dates from at least the 1850s, may have been inspired by topical events in the news related to conflicts between the armies of Mexico, commanded by Antonio López de Santa Anna, and the U.S., commanded by Zachary Taylor, in the Mexican–American War.[1]