The act passed in 1701 and still in force, requiring that all future rulers of England be members of the Established Church. William III and Anne were childless; James, the son of James II and nearest heir, was Catholic. To keep the throne Protestant, he and other Catholic princes and princesses were passed over, and Sophia, Protestant granddaughter of James I, was named heiress.