As Charles II had no children, James II was next in line to the throne. His first two daughters, Mary and Anne, were both raised as Protestants, but James' remarriage to the Catholic Mary of Modena raised a serious threat of a Catholic line of succession