OTTAWA -- A Canadian who was killed in a terrorist attack in Somalia is being remembered for his deep ties to Ottawa's Somali community.
Foreign Affairs Minister John Baird has confirmed that Mohamud Hersi Abdulle, a former intelligence commander and an aide to Somalia's prime minister, died in the attack Friday on the presidential palace in the capital Mogadishu by nine members of the terrorist group al-Shabab.
Baird issued a statement saying the Canadian citizen had returned to his native Somalia to work with the prime minister.
Abdulle had a long history with the Somali-Canadian community in Ottawa, where he worked as a school teacher and social worker, said Abdirizak Mohamud, who knew him.
Mohamud said Abdulle had also been involved with the Youth Services Bureau, a community group, and helped Somali-Canadian youth with their homework and also taught them the Somali language.
"Every Somali kid, most of them, they loved (him). There's nobody else they knew like that," Mohamud said Saturday.
Abdulle also helped adult members of the local Somali community with transferring money to family back home, Mohamud said, and on trips he took every few years to the East African country Abdulle would help those relatives with resources such as food and water.
"Everybody liked him and everybody's very sorry. Some of them, they're calling me for hours to say has that really" happened, Mohamud said.
He was "the kind of guy -- 24 hours, all the time, working for the community."
Abdulle's wife and child remain in Ottawa, said Mohamud.
Early media reports had said Abdulle was an American -- a second government official was also killed in the attack.
Somali President Hassan Sheikh Mohamud was unharmed in the attack that saw all nine militants killed.
The president called the assault a "media spectacular" by a "dying animal."
The attack underscores a worrying new trend in Mogadishu: That despite a period of relative calm following al-Shabab's ouster from Mogadishu in August 2011, militants have carried out a series of deadly assaults in recent weeks that have seen the city hit with mortar fire and pitched battles.
Weapons meant for the Somali army could have been used by the militants in Friday's attack. A confidential UN Monitoring Group on Somalia and Eritrea reported this month that the country's military is selling weaponry in markets where the al-Qaida-linked militants buy weapons.
In at least one case weapons were sold by a military commander directly to an al-Shabab commander, the confidential report said.
Friday's attack against the compound where the president and prime minister live began with a car bomb explosion, followed by an assault by gunmen on palace guards, said police Capt. Mohamed Hussein. Al-Shabab, an al Qaeda-linked group, claimed responsibility.
"President just called me to say he's unharmed. Attack on Villa #Somalia had failed. Sadly some lives lost. I condemn strongly this terrorism," the UN representative to Somalia, Nick Kay, said on Twitter. He added later: "The Somali people are tired of shootings, bombings and killings. It's time for a new chapter in Somalia's history."
The Interior Ministry displayed the seven bloodied and dead bodies of the attackers and said two others blew themselves up. The wreckages of two car bombs lay nearby.
"Apart from media headlines, #Shabaab will achieve nothing from it," a Twitter account run by the office of Hassan Sheikh Mohamud said. 'Don't be fooled by this "media spectacular'. This is another act of desperation from a dying animal."
Al-Shabab has been waging war in Somalia for years as it tries to oust a Western-backed government. Weakened from its apex of power, the militants are still able to launch vicious attacks.
UN Secretary-General Ban Ki-moon condemned the attack "in the strongest terms" while the U.N. Security Council said it was "appalled." Both paid tribute to Somali and African Union forces for repelling the attack.
The Security Council reaffirmed "that this and other acts of terrorism would not weaken their determination to support the peace and reconciliation process in Somalia."
The secretary-general expressed concern that recent attacks by al-Shabab "are clearly aimed at destabilizing the country at a time when many efforts are being mobilized to restore peace and development," UN deputy spokesman Farhan Haq said.
Baird also condemned the attack in his statement and gave his condolences to Abdulle's family.
"His death reminds us all of the great risks and sacrifices Canadians take around the world in support of greater peace and security," Baird said.
A UN Monitoring Group report, published Feb. 6 and obtained by The Associated Press, found that many weapons given to Somalia's military can no longer be accounted for, including rocket-propelled grenades, hand grenades and bullets. The Monitoring Group "has developed serious concerns that the 1,000 AK-47s delivered from Uganda" are no longer in government control, it said.
The report said that two separate clan-based power bases in the government are procuring weapons with a clan-based agenda that works against peace in Somalia, including by distributing weapons to clan militias. A sub clan of the president's dominates weapons procurements and funnels them to Abgaal militia forces, it said.
"In addition, the Monitoring Group has also obtained documentary evidence corroborating information that a key adviser to the President, from his Abgaal subclan, has been involved in planning weapons deliveries to Al-Shabab leader Sheikh Yusuf Isse 'Kabukatukade', who is also Abgaal," the report said.
The report also said that ammunition supplied to Somalia's army have been leaked in large quantities to arms markets. Weapons and ammunition not sold at a market during the day are taken back for storage in garages and houses owned by Somalia army officers, the report said.
"Al-Shabaab are known to frequent the market to purchase weapons and ammunition and were easily identifiable by the salesmen there," the report said.
Somalia's government has not responded publicly to the report and did not immediately respond to a request for comment Friday.
Ken Menkhaus, a Somalia expert at Davidson College, wrote in a new paper on al-Shabab being published Monday in the CTC Sentinal, Westpoint's anti-terrorism publication, that al-Shabab has been weakened as a political movement and will not be able to establish an Islamic state, but that it's secret service -- "Amniyat" -- can still unleash devastating attacks against African Union forces and the Somali government.
In Friday's attack, a speeding car full of explosives rammed into a barricade erected by soldiers protecting the presidential palace, causing an explosion and sending plumes of smoke into the sky. Amid the mayhem, gunmen chanting "God is great" then moved toward a second gate and tried to force their way into the complex.
-- With files from The Associated Press