A Canadian veteran who died fighting Islamic State militants in Syria has been identified.

John Gallagher, 32, was killed during a mission to take back a village from ISIS. He had once served in Bosnia under the Canadian Armed Forces and left the military in 2005.

Gallagher鈥檚 recent Facebook posts had shown him posing with a rifle in fatigues and offered intermittent updates on his movements through Syria.

鈥淛ust a quick update everyone,鈥 said one message posted Friday. 鈥淭hings are great, I'm with a merry crew of savage individuals spoiling for a fight, and with any luck we'll gey (sic) our wish soon. I love you all, stay safe, and I'll see you all when I get home.鈥

In a post from Sept. 1, he wrote: 鈥淪omebody point me towards Raqqa. I'm ready to take it myself with a rusty fruit knife.鈥

Raqqa is a Syrian city sometimes referred to as the de facto capital of ISIS.

A new message appeared Wednesday that confirmed, 鈥淛ohn Robert was killed by a suicide bomber earlier today.鈥 The post was written by Gallagher鈥檚 mother, Valerie.

鈥淚 don't have a Facebook account and when John Robert went away, he left his account here open so that we could message each other,鈥 Valerie explained.

鈥淚 am very sorry that some of you will be receiving the news this way -- especially his Gallagher relations and his many friends whom I don't know at all.鈥

Valerie added that she hopes people will read an essay her son wrote before leaving to join the fight.

鈥淗e thought this was such an important fight and he has always been a man of principle, who believed very strongly in human rights and justice,鈥 she wrote. 鈥淚 am very, very proud of him and his sisters and I love him very much.鈥

The Facebook profile listed Gallagher as born in Wheatley, Ont., and residing in Calgary.

Members of the Canadian Armed Forces who previously served with Gallagher told CTV鈥檚 Mercedes Stephenson that he was intelligent, principled, noble and a good soldier.

They also said he believed strongly in the fight against ISIS, and that Western countries weren鈥檛 doing enough.

The Syrian Observatory for Human Rights, an activist group, issued a press release Wednesday that said an unnamed Canadian was killed when an ISIS fighter detonated an explosive belt on a farm around the village of Dalho, in the El-Hol area, east of al-Hasakah City in Syria.

After the Gallagher family was informed of the death, SOHR issued another press release confirming his identity.

Fighters on the ground told 麻豆影视 Gallagher had travelled to Syria in mid-2015 and was the only victim of the suicide bombing, although two others were injured.

The People's Defense Units (YPG) says they are now in possession of his belongings and passport.

Other Canadians are currently fighting in the area, but they were not present at the blast site.

The Syrian Democratic Forces include fighters from the Jaysh al- Thuwar, Borkan al- Furat Operation Room, Jaysh al- Sanadid and the Brigade Groups of al- Jazira, the Syriac Military Council, the People's Defense Units (YPG), the Women's Defense Units (YPJ), according to SOHR.

The forces have been involved in ongoing fighting against ISIS in the al-Hasakah City area.