Ankara intervened in Syria last year in support of rebel groups fighting under the Free Syrian Army (FSA) banner sought to drive Islamic State from positions it had used to shell Turkish towns, and also to stop YPG expansion.