Somali shot after allegedly attempting to attack Danish cartoonist

A Somali man believed to have ties to terrorist groups was shot as he allegedly tried to enter the home of Danish political cartoonist Kurt Westergaard -- known for his controversial depictions of the Muslim prophet Mohammed -- on Friday, police said.

The 27-year-old man, who was not identified, wielded an ax and a knife and cracked a window at Westergaard's home in Aarhus, said police spokesman Morten Jensen. A home alarm alerted police to the scene at 10 p.m., and they were attacked by the man, he said.

The officers shot the man in the right leg and left hand. He was hospitalized, but was not seriously injured, police said.

Danish intelligence officials said the suspect is connected to al-Shabaab, al Qaeda's ally in east Africa.