Invitation to William
The invitation made William decide to carry out his existing plans to land with a large Dutch army. This ended in the Glorious Revolution.  James was allowed to escape and was replaced by William and Mary as joint rulers.