Correction: Scratch Polk, I was thinking of Franklin Pierce, Mexican War.
You named Presidents from the great American historical blind spot (we know Revolution, Civil War and pick up our history again around 1900 . . .). Apparently little happended between 1820 and 1900 other than the Civil War . . .