While James II was unpopular in England, he had widespread popular support in Ireland, and following the Glorious Revolution, in which he was overthrown by William of Orange who became William III of England, William landed a multi-national force in Ireland, composed of English, Scottish, Dutch, Danish and other troops, to put down Jacobite resistance. James left Ireland after a reverse at the Battle of the Boyne in 1690, but the successful resistance at the Siege of Limerick gave the Irish Jacobites time. However they would be decisively defeated following the Battle of Aughrim in 1691.