The Canadian anthem was performed by an orchestra conducted by Joseph Vézina on June 24th, 1880 in Quebec for the first time.
Then the anthem was in French and was called Chant National (Song of the Nation).
The original version of the anthem was written by two Quebecers: Calixa Lavallée (music) and Sir Adolphe-Basile Routhier (lyrics).
In 1908, Robert Stanley Weir wrote the original text in English, which was recommended for the English words with a few minor changes.
Since then, the text of the English version has changed many times, while the French version continues to be unchanged.
A slightly modified version was officially performed in 1927 on the 60th Anniversary of Confederation and gradually it became the most widely accepted and performed version.
De facto the song became the anthem of the country in 1939, but the official status of the hymn was received only on July 1st, 1980 with the passage of the National Anthem Act.
Until then, the official anthem was the British anthem "God Save the Queen".
On February 7th, 2018, the English version of the hymn was changed, the current version is gender-neutral.
Отсюда - https://soundsofcanadaseries.com/articles/o-canada/