Prime Stephen Harper offers emotional praise at the funeral of a soldier shot dead by a gunman who then stormed Canada's seat of government last week.

Harper spoke Tuesday about the loss of Cpl. Nathan Cirillo, gunned down as he stood as a ceremonial guard at Ottawa's National War Memorial in what the prime minister has called a terrorist attack.

Near the Christ's Church Cathedral, people lined up four deep to watch a procession of soldiers carrying Cirillo's coffin. At one point a group of young women sang the national anthem, drawing applause from the crowd.

Cirillo's killer, 32-year-old Michael Zehaf-Bibeau, was shot dead by the sergeant-at-arms after he ran into the Parliament building.