In this article the author analyzes the historical and legal origins of the formation of bilateral relations between Azerbaijan and Turkey. The political events of the early twentieth century are considered, as a result of which the Azerbaijan Democratic Republic (ADR) was formed, as well as the political discourse in Azerbaijani society on the development of Azerbaijani-Ottoman relations. The result of the development of such political dialogue was the rapprochement and conclusion of a number of agreements between the ADR and the Ottoman Empire.