james stuart , 1623-1701 , king of england and ireland and , as james vii , of scotland ( 1685-88 ) ; son of charles i. pro-catholic sympathies and a desire to encourage tolerance of non-conformist groups such as the quakers and dissenters led to a protestant coalition of whigs and tories inviting the dutch william duke of orange to invade their country and depose their king .