During that period, Yemen was the sole Coffee producer in the world.[23] The country established diplomatic relations with the Safavid dynasty of Persia, the Ottomans of Hejaz, the Mughal Empire in India and Ethiopia.