In this Saturday, Oct. 1, 2011 file photo, Associated Press Special Regional Correspondent for Afghanistan and Pakistan Kathy Gannon sits with girls at a school in Kandahar, Afghanistan. Gannon was wounded and her colleague, photographer Anja Niedringhaus, was killed on Friday, April 4, 2014 when an Afghan policeman opened fire while they were sitting in their car in eastern Afghanistan. (AP Photo/Anja Niedringhaus, File)

KABUL, Afghanistan — A Canadian-born journalist working for the Associated Press was wounded Friday while on assignment in Afghanistan.

Kathy Gannon, 60, of Timmins, Ont., was shot twice and the news agency said she was in stable condition and talking to medical personnel.

However, Associated Press photographer Anja Niedringhaus, 48, of Germany was killed in the attack in eastern Afghanistan.

The news agency said an Afghan police officer opened fire on the pair while they were sitting in their car in the outskirts of Khost city in Tani district.

Gannon and Niedringhaus were in a convoy of election workers delivering ballots under the protection of the Afghan National Army and Afghan police.

They were in their own car with a freelancer and a driver waiting for the convoy to move when a unit commander walked up yelled "Allahu Akbar" (God is Great) and opened fire on them in the back seat with his AK-47. He then surrendered to the other police and was arrested.

Gannon is based in Islamabad for the news agency and has covered war and unrest in Afghanistan and Pakistan for three decades.

In an interview from 2011 posted on the Dept. of Foreign Affairs website, Gannon says she knew very early on in her career that she wanted to travel abroad.

"I knew there weren't many openings available to Canada-based journalists as foreign correspondents, so I sold everything and initially went to Israel," she said.

Gannon said she "worked in an out of Afghanistan" for about 18 years. "I first went into Afghanistan when the Soviets were still there, so I went into the country with the Mujahadeen."

A profile accompanying the interview says Gannon won the International Women's Media Foundation Courage in Journalism award in 2002.

She was also the recipient of the Edward R. Murrow fellowship from the Council on Foreign Relations during 2003-2004.

Gannon published a book in 2006 entitled "I is for Infidel: From Holy War to Holy Terror in Afghanistan."