A British man who joined the YPG/PKK terrorist group and then returned to the U.K. was jailed for four years by the Old Bailey on Thursday.

Aidan James, 28, has become the first Brit to receive a jail sentence for his involvement with the terrorist group.

James was previously found guilty for receiving training at PKK terrorist camps in Iraq.

The man from Formby, Merseyside travelled to Iraq in 2017 after being rejected by the British army as a recruit.

The PKK is a proscribed terror organization under U.K. law.

James later on joined the YPG, the Syrian offshoot

Read more: London court hands 4-year jail time to YPG/PKK member