President of the Republic of Azerbaijan Ilham Aliyev has left for Turkey for a working visit at the invitation of President of the Republic of Turkey Recep Tayyip Erdogan.