In earlier times, countries did not have national anthem as we have today.
There was no single song officially chosen to represent the nation as a whole.
With the raise of nationalism in 18th century, countries started using songs that reflects the feeling, hope and struggles of ordinary people.
FRANCE is the first country to officially adopt a national anthem.
The anthem was written during French revolution when French people were fighting against monarchy and foreign threats.
In 1795, France officially recognized this song as national anthem.