This brings to an end our live coverage of the dramatic events in the Canadian capital Ottawa. Thanks for staying with us! You can still follow all the latest developments on this and other news stories on theBBC News website.
- There have been two shooting incidents in Ottawa - at the National War Memorial and inside parliament
- A soldier guarding the war memorial was shot and later died of his injuries
- A gunman has been killed in the parliament building, it is not clear if other gunmen are at large
- Several buildings are on lockdown and residents have been told to stay away from windows and roofs
- PM Stephen Harper says "Canada will never be intimidated" and will "redouble our efforts" in fighting terrorist groups
But the police add that the "operation continues on Parliament Hill and as such the Hill continues to be off limits to the public".
Canadian police say the downtown Ottawa "safety perimeter" has now been lifted. They say "there no longer exists a threat to public safety in the area".
Emma Loop, @OttawaCitizen
The prime minister also says that the nation's "thoughts and prayers" are with Cpl Nathan Cirillo, who was shot and killed in Wednesday's attack.
But he stresses that "Canada will never be intimidated" and those responsible "will have no safe haven" on Canadian soil.
Mr Harper says the shootings on Wednesday and earlier this week in Quebec showed that "Canada is not immune to terrorist attacks".
Canadian PM Harper is now making a statement. He describes Wednesday's attack as "brutal and violent".
Australia's ABC News 24
Canadian Prime Minister Stephen Harper is due to make a statement shortly, reports say.
The Ottawa Hospital now says that "all three patients involved in today's incident have been discharged". It earlier said the patients "had minor, non-life threatening injuries".
Eyewitness Ameh Adas, an Ottawa student who filmed the aftermath of the shooting, tells the BBC that the area is normally "very busy at this time." He says that "government workers usually go for lunch, and the university is only two minutes away".
Isabel Shore, Ottawa emails: I'm a first year student at the University of Ottawa. The University was placed in lockdown for about five hours. We're located a few blocks away, and it was a very stressful and confusing experience. Ottawa is my hometown, and yesterday I would never imagine that such a thing could happen here. However, the twitter updates provided by the CBC (and the BBC) were incredibly helpful, seeing as I was stuck in an auditorium with no way of reaching the outside!
Ottawa Hospital has said that it received four patients from the shootings. It said they arrived at the hospital at 10:20, 10:37, 12:05, and 12:43 local time. It said that, apart from the first patient, they had minor, non-life threatening injuries and remain in hospital.
US officials say that Michael Zehaf-Bibeau was a 32-year-old Canadian citizen.
Canadian media quoting US and Canadian officials have identified the dead Ottawa gunman as Michael Zehaf-Bibeau.
Russ Siemens in Ottawa, Ontario
Just to recap on what we know: Shots were fired at two locations, the National War Memorial where a soldier was fatally injured, and in parliament where an attacker was killed in a gunfight. Police said reports of gunshots at a shopping centre proved to be false but parts of the city centre are still in lockdown and it is unclear if other suspects are at large.
This picture of armed police on a rooftop in central Ottawa was taken by Kashy_B who tells the BBC: "We're locked in and no-one can get in or out."
Kevin Vickers, Sergeant-at-Arms in Canada's House of Commons, is being hailed as a hero after reportedly shooting the assailant in parliament. Justice Minister Peter MacKay tweeted: "Thank God for Sgt at Arms Kevin Vickers".
RCMP in Ottawa, Canada
The White House says President Obama has spoken by phone to Prime Minister Harper "to express the American people's solidarity with Canada". It says President Obama condemned "these outrageous attacks" and offered any assistance Canada needed in responding to them.
Prime Minister Stephen Harper, making his first statement after the shooting, has described it as "a despicable attack". He says it is important for the government and parliament to continue to function.