President Barack Obama said on Friday that a lethal bomb blast in Norway’s capital city of Oslo is a reminder that the world has a stake in stopping acts of terrorism.

The president extended his condolences to Norway’s people.

Addressing reporters after an Oval Office meeting with New Zealand’s Prime Minister, Mr. Obama said he remembered how warmly he was treated when he travelled to Oslo to accept the Nobel Peace Prize in 2009.

He said “our hearts” go out to the Norwegian people. He also offered U.S. assistance with the investigation.

“It’s a reminder that the entire community has a stake in preventing this kind of terror from occurring,” Mr. Obama said.

Norwegian authorities say the deadly blast ripped open buildings, including the prime minister’s office, and was the worst attack in the country since World War II.

Norwegian Prime Minister Jens Stoltenberg was working at home at the time.

Later on Friday, a man dressed as a police officer opened fire at a youth camp near the capital. A suspect was in police custody.

Norwegian police say they suspect that the shooting and bombing are linked.

More In: International | News