Why is the War of 1812 often called the "Second War of Independence”?

The US asserted that it was a free and independent country, separate from European powers.
It inspired the writing of “The Star-Spangled Banner.”
The US earned its independence from Great Britain for a second time in less than 50 years.
It inspired a surge of American patriotism.