Answer
Lady Mary Wortley Montagu's visit to the Ottoman Empire took place in 1717. The Sultan at the time was Ahmed III. He was the 23rd Sultan of the Ottoman Empire, and ruled from 1703 to 1730. Ahmed III was a patron of the arts, and is known for his support of the Tulip Era, a period of cultural and artistic flowering in the Ottoman Empire.