The most senior female police officer in Afghanistan was killed Sunday in a shooting in Kandahar city.

Supporters say Lt.-Col. Malali Kakar was a beacon of hope for women in Afghanistan.Supporters say Lt.-Col. Malali Kakar was a beacon of hope for women in Afghanistan. (CBC)

Two gunmen on a motorcycle shot Lt.-Col. Malalai Kakar, 41, in her car as she was about to leave for work around 9 a.m. local time, officials said.

Her 18-year-old son, who was driving, was hit in the head by a bullet and is now in a coma in hospital. The Taliban claimed credit for the attack.

Ron Hoffman, Canada's ambassador to Afghanistan, extended sympathies to the family and friends of Kakar on behalf of his government and Canadians.

First female police detective

"Mrs. Malalai was well known for her staunch support of women in the Afghan National Police, and of the role of women in Kandahar society at large," he said.

"As the first female police detective in Kandahar following the fall of the Taliban, she served as deputy commander of the Kandahar city police department and was responsible for 10 female officers. She was a beacon of hope for women in democratic and free Afghanistan."

"Canada remains steadfast in our support for the rights of women, and our commitment to the people of Afghanistan," Hoffman said in a statement.

Kakar had been working as deputy commander of the Kandahar police department and headed a unit that specialized in crimes against women.

Her work angered Taliban insurgents, who frequently attack projects, schools and businesses run by women.

She received many threatening "night letters" and phone calls.

Sally Armstrong, a Canadian writer of books about Afghan women, described Kakar as a very effective police officer.

"There is violence in almost every single Afghan home and she was dealing with that," Armstrong said. "The Taliban are cutting down the very people who can turn this country around."

Kakar, her husband and their six children lived in a protected compound in Kandahar. And while she wore a regular police uniform at work, she wore a burka when she visited Kandahar's markets to avoid being recognized.

President condemns assassination

President Hamid Karzai condemned the assassination. The European Union also released a statement saying it was "appalled by the brutal targeting" of Kakar.

"Any murder of a police officer is to be condemned, but the killing of a female officer whose service was not only to her country, but to Afghan women, to whom Ms. Kakar served as an example, is particularly abhorrent," the EU said.

There are now more than 20 women in the Kandahar police force and 250 in the country as a whole, following in Kakar's footsteps.

With files from the Associated Press