President of the Republic of Azerbaijan Ilham Aliyev has ended his working visit to Saint Petersburg, the Russian Federation.