By Moira Warburton

TORONTO (Reuters) - Canadian police arrested a man on terror charges who was previously detained by Turkish authorities for being part of ISIS, the Royal Canadian Mounted Police said on Friday.

Ikar Mao, 22, of Guelph, Ontario, a city 100 km (62.14 miles) west of Toronto, has been charged with participation in the activity of a terror group, and leaving Canada to participate in such a group, the police said in a statement.

Mao appeared in court on Friday, RCMP spokeswoman Louise Savard said in an email. She declined to give further details.

The RCMP investigation leading to Mao's arrest began on July 11, and stemmed from a complaint from an unnamed source, Savard said. He was arrested and charged by Turkish authorities and held until a court hearing, she added, noting that no conviction has been registered in Turkey.

Mao returned to Canada on Oct. 19, Savard said.

(Reporting by Moira Warburton in Toronto; Editing by Richard Chang)