Complex sentence: One was the daughter of Handanzade, former wife of Hezarpare Ahmed Pasha, who became Ibrahim's wife after her divorce and the other was the daughter of Şeyhülislam Muid Ahmed Efendi.
Split into simpler sentences: One was the daughter of Handanzade, former wife of Hezarpare Ahmed Pasha, who became Ibrahim's wife after her divorce. The other women Ibrahim married was the daughter of Şeyhülislam Muid Ahmed Efendi.