Жуан V
In foreign relations, he struggled with both John V of Portugal and the Jansenists in France.