Complex sentence: Parliament was inclined, provided the king joined the Dutch side, and to this end Danby negotiated the marriage of James of York's eldest daughter Mary to the Dutch Stadtholder William III of Orange.
Split into simpler sentences: Parliament was inclined, provided the king joined the Dutch side. To this end, Danby negotiated the marriage of James of York's eldest daughter Mary to the Dutch Stadtholder William III of Orange.