The History of the Star-Spangled Banner. Britain had signed a Treaty to end the Revolution in 1783. America became a country. The British also agreed.