In 1701, the Act of Settlement was passed. At the time, William III was on the Throne.
In order to preclude Catholics from the Throne, the act stated that if the king, William III, and his sister-in-law, Princess Anne, had none of their children come to the Throne, then the Crown should be...