Map of the British Isles, 1702.
In 1702, Anne became Queen after William III (also known as William of Orange) died with no direct heirs in 1702. During her reign, England and Scotland united in 1707 into a single kingdom called Great Britain. Ann died in 1712 also leaving no direct heirs and thus was the last Stuart on the throne. Ann’s successor was her cousin George of Hannover. Would-be catholic claimants including Anne’s half-brother were ignored.
The story of Anne the Queen of Great Britain is told in Edward Gregg’s “Queen Anne: The Politics of Passion”