President Obama extended his condolences to the victims of explosions and shooting attacks in Norway on Friday.

"I wanted to personally extend my condolences to the people of Norway," Obama said after a meeting with New Zealand Prime Minister John Key in the Oval Office. "It’s a reminder that the entire international community holds a stake in preventing this kind of terror from occurring. We have to work cooperatively together both on intelligence and in terms of prevention of these kinds of horrible attacks."

Bombs detonated Friday at Norwegian government buildings, including one housing the Norwegian prime minister's office. Seven people have reportedly been killed. 

Later on Friday a shooting occurred at a Norwegian Labour Party camp near Oslo.

Obama was reportedly briefed by John Brennan, his top counterterroism adviser, on the attacks.

Norwegian police say the bombing and shooting are connected, according to the BBC.