Queen Anne became Queen of England after King William III died.

Source