Muir wrote several songs about Canada during his career, including Canada Forever and Young Canada Was Here, but his most enduring composition was The Maple Leaf Forever  written in 1867, the year of Confederation.
"The Maple Leaf Forever" is Muir's most famous Canadian song, reflecting his strong feelings about Canada's formation in 1867.