Poet Francis Scott Key was inspired by seeing the flag after witnessing the fort’s bombardment. He wrote a poem called "Defence of Fort M'Henry." This eventually became the Star-Spangled Banner and the United States national anthem.