A Canadian special forces soldier was killed in a friendly fire incident after he and others showed up to the front line unannounced to call in airstrikes, Kurdish officials said Sunday. The death Friday of Sgt. Andrew Joseph Doiron marked Canada's first casualty as part of the U.S.-led coalition's war on the extremist Islamic State group. "They went to the frontline to direct airstrikes because the area was attacked by ISIS the day before," Hezhar Ismail, director of coordination and relations for the peshmerga, the Kurdish fighters, told The Associated Press, using an acronym for the Islamic State group. Canadian Defense Minister Jason Kenney responded to allegations Sunday that Canadian soldiers were on the front line in an interview with CTV, saying that Canadian soldiers were well behind the lines when the soldier was killed. Kenney said the soldiers had just returned to an observation post behind the front line when they were mistakenly fired upon by Kurdish fighters. "They weren't on the front line," Kenney said. "It was 200 meters from the front." Kenney said he looks forward to hearing more after an investigation is completed. "It's a regrettable case of mistaken identity. Obviously we want to know what happened," Kenney said. Canada's military on Saturday announced the death of Doiron, a soldier in the Canadian Special Operations Regiment based at Garrison Petawawa, Ontario. Three other Canadian soldiers were wounded in the incident and are in stable condition. Peshmerga spokesman Halgurd Hekmat said Sunday a group of Canadian soldiers showed up unannounced Friday to the village of Bashiq, in Iraq's Nineveh province near the militant-held city of Mosul. The area had seen heavy fighting against Islamic State militants the previous day. "When they returned, the peshmerga asked them to identify themselves," Hekmat told the AP. "They answered in Arabic, that's when peshmerga started shooting. It was their fault." Canada has 69 special forces soldiers with Kurdish peshmerga fighters in what the government calls an advising and assisting role. They were sent to help train Kurdish fighters last September in a mission that was billed as noncombat with the elite troops working far behind the front lines. Tanya LeBlanc, a spokeswoman for the Canadian military, said the military is conducting an investigation into the incident to determine exactly how Doiron died. The Canadian military and goverment officials didn't immediately respond to messages seeking comment when asked if Doiron and his fellow soldiers were at the front lines to direct airstrikes. The fact that Canadian special forces have been training and assisting on the front lines and directing airstrikes has stirred controversy in the country, but Kenney said the rules of engagement will remain the same. Canadian soldiers have been helping the Kurdish fighters by directing coalition airstrikes against Islamic State fighters, a role generally considered risky because it means they are close to the battle against the militants.