In 1569, during the Russo-Turkish War (1568–1570), Astrakhan was besieged by the Ottoman army, which had to retreat in disarray. A year later, the Ottoman sultan renounced his claims to Astrakhan, thus opening the entire Volga River to Russian traffic. The Ottoman Empire, though militarily defeated, insisted on safe passage for Muslim pilgrims and traders from Central Asia as well as the destruction of the Russian's fort on the Terek river. In the 17th century, the city was developed as a Russian gate to the Orient. Many merchants from Armenia, Safavid Persia, Mughal India and Khiva khanate settled in the town, giving it a cosmopolitan character.