 The 1691 Treaty of Limerick ended the war in Ireland; future risings on behalf of the exiled Stuarts were confined to England and Scotland.The 1701 Act of Settlement barred Catholics from the English throne, and when Anne became the last Stuart monarch in 1702, her heir was her Protestant cousin Sophia of Hanover, not her Catholic half-brother James.Ireland retained a separate Parliament until 1800, but the 1707 Union combined England and Scotland into the Kingdom of Great Britain.