O Say, Can You See?

Where was Francis Scott Key when he penned his famous poem during the War of 1812, and why does it matter?