World leaders offered their condolences and support to Canada following Wednesday's shootings in Ottawa, as the story captured international attention.

Canadian Prime Minister Stephen Harper described the perpetrator of a "brutal and violent" attack on the Parliament complex in Ottawa that left a soldier dead Wednesday as a "terrorist" in an address to the nation.

"We will not be intimidated. Canada will never be intimidated," Harper said before vowing that the attack would "lead us to strengthen our resolve and redouble our efforts" to keep the country safe and work with Canada's allies to fight terrorists.

Obama told reporters Wednesday afternoon that he offered his condolences on behalf of Americans to the family of the soldier killed and to all Canadians.

The U.S. president said "'We are going to do everything we can to make sure we are standing side-by-side with Canada during this difficult time, "

Indian PM Narendra Modi condemned the terror attack on the Canadian parliament and pledged to strengthen cooperation with Ottawa to combat terrorism.

In a statement released by the external affairs ministry, Modi said "I strongly condemn the attacks on the Canadian military personnel in Quebec and Ottawa and the shooting in the Canadian parliament in Ottawa,"