The U.N. has condemned the slaying of a senior staff member in Somalia but says there are no plans to halt operations.

Officials say unidentified gunmen shot Osman Ali Ahmed as he was leaving a mosque in Mogadishu on Sunday night. Ahmed — who was head of the U.N. Development Program in Somalia — died on way to the hospital. His brother was seriously wounded in the attack and his son suffered minor injuries.

The U.N.'s aid chief for Somalia praised Osman's "great courage and commitment over the past 14 years."

Mark Bowden says it is unclear whether the killing was part of a wider pattern of attacks on U.N. officials. He says the organization will continue its humanitarian work in Somalia.