Ottawa
Parliament Hill and National War Memorial site as pictured from Mackenzie King Bridge in downtown on October 22, 2014 in Ottawa, Canada. Officials are investigating multiple reports of shootings and suspects after at least one gunman shot a Canadian soldier and then entered Canada's Parliament building. Getty Images

Leading political figures have offered messages of condolence and support following an attack on Canada's parliament building.

A soldier was shot dead by an armed gunman at Ottawa's War Memorial. Nearly 30 gun shots were heard from inside the Canadian parliament building, where the gunman was eventually chased down and shot.

Prayers of everybody here at the White House go out to the families of those who were affected by today's shooting in Canada. From issues ranging from the strength of our NATO alliance to the Ebola response to dealing with ISIL [Isis], there is a strong alliance between the United States and Canada.
- Josh Earnest, White House press secretary

The world has reacted with shock to what is being termed as 'the end of Canada's innocence.'

White House press secretary Josh Earnest confirmed that US President Barack Obama has offered support to Canada, reported CBC News.

"The thoughts and prayers of everybody here at the White House go out to the families of those who were affected by today's shooting in Canada as well as to the family of the soldier who was killed earlier this week. Canada is one of the closest friends and allies of the United States and from issues ranging from the strength of our NATO alliance to the Ebola response to dealing with ISIL [Isis], there is a strong partnership and friendship and alliance between the United States and Canada," said Earnest.

United Nations Secretary General Ban Ki-moon also confirmed his support to Canadians.

"The secretary general is aware of the situation unfolding in Ottawa, including in the Canadian Parliament, during which a soldier has reportedly been shot. He hopes the situation will be brought quickly under control by Canadian law enforcement authorities. His thoughts are with the people and government of Canada at this difficult time," read a statement provided to CBC News.

Writing on Twitter, British Prime Minister David Cameron said he was "appalled by today's attack in Ottawa."

I'm appalled by today's attack in Ottawa. I offer my full support to @pmharper and the Canadian people as they deal with this incident.

— David Cameron (@David_Cameron) October 22, 2014

News of the attack in Ottawa is extremely disturbing. I pray for everyone's safety.

— Narendra Modi (@narendramodi) October 22, 2014

Comments on this morning’s attack / Commentaires sur l’attaque de ce matin pic.twitter.com/iWQ59niyuY

— Jim Watson (@JimWatsonOttawa) October 22, 2014

Horrible events in otherwise so peaceful Ottawa. But excellent that also @HonJohnBaird is safe and well.

— Carl Bildt (@carlbildt) October 22, 2014

My thoughts & prayers are with the families of the victims of today’s shootings in Ottawa, as well as with all Members of Parliament & staff

— Eugene Melnyk (@MelnykEugene) October 22, 2014

@HonJohnBaird horrified to hear of shooting incident in #Ottawa. Our thoughts are with you.

— Philip Hammond (@PhilipHammondUK) October 22, 2014

Following events in #ottawa #canada closely. Thinking of my Canadian parliamentary colleagues #ottawashooting @CanadianUK

— Hugo Swire (@HugoSwire) October 22, 2014

We express our condolences and prayers to our #Canadian friends

— Obama NSC- Archived (@NSC44) October 22, 2014

Sincères condoléances aux familles des victimes des événements à #Ottawa. Les États-Unis sont aux côtés du #Canada dans cette épreuve.

— U.S. Embassy Ottawa (@usembassyottawa) October 22, 2014

Saddened by the series of tragic events in Ottawa today.Our thoughts are with all those affected. All staff in our Ottawa office are safe.

— WWF-Canada 🐼 (@WWFCanada) October 22, 2014

Just received email message from @OttawaPolice Chief Charles Bordeleau #ottshooting #OttawaShooting pic.twitter.com/4vJoP2YO11

— Sikander Hashmi (@kanataimam) October 22, 2014