On foreign and military policy, Lincoln spoke against the Mexican–American War, which he imputed to President James K. Polk's desire for "military glory—that attractive rainbow, that rises in showers of blood".