Complex sentence: He had relations with the French, Spanish courts or the members of the Medici family, which facilitated him to carry out a number of missions and negotiations on behalf of the Polish king.
Split into simpler sentences: He had relations with the French and Spanish courts, as well as members of the Medici family. These facilitated his carrying out a number of missions and negotiations on behalf of the Polish king.