Turkey will not leave Syria until the Syrian people hold an election, Turkish President Tayyip Erdogan said on Thursday.