The man, named locally as ‘Joseph A.R.’, was detained in the Aegean holiday resort town of Didim, in Aydin province, on Friday, on charges of working with a Kurdish militia Ankara classified as a terror group, state media said.

Joseph RobinsonCredit:
Joseph Robinson/Facebook

A Bulgarian citizen detained was allowed by the court to go free under judicial control.

The man was identified as ex-soldier Joe Robinson, 24, from Leeds, and the Bulgarian as his fiancee Mira Rojkan, by the BBC.

Kurdistan Workers' Party (PKK) rebels taking positions as they storm a hilltop during military exercises in the mountains of northern Iraq's Kurdish autonomous region.Credit:
David Furst/AFP/Getty Images

Ankara considers the YPG a terrorist group and the Syrian branch of the Kurdistan Workers' Party (PKK), which has waged an insurgency inside Turkey since 1984.

However, the United States government regards the YPG - the main fighting force on the ground in Syria against the Islamic State group - as a key ally.

The US is now openly arming the YPG and the group is heavily involved in the US-backed operation to remove IS jihadists from their stronghold of Raqa.

Joseph RobinsonCredit:
Joseph Robinson/Facebook

The YPG has also attracted the services of foreigners - many with no Kurdish family origin - to fight against IS in Syria and Iraq. Several have lost their lives.

According to the Hurriyet daily, the Briton said in his statement to police investigators that he spent three months in Syria providing medical assistance to the YPG.

Anadolu said that Turkish police launched the raid to arrest him after receiving a tip-off by email.

Silhan Ozcelik, 18, who became the first Briton to be convicted of trying to join the banned Kurdish group PKK. The teenager was on trial at the Old Bailey in 2015, charged with engaging in conduct in preparation for terrorist actsCredit:
PA

"They arrested us on the beach while we were vacationing with my mother," Rojkan told the Guardian in a message.

Robinson served with British forces in Afghanistan in 2012 and traveled to Syria in 2015 to work as as a combat medic in the YPG, the newspaper said.

He was arrested on suspicion of terror offences after arriving back in Britain but the charges were dropped after 10 months.