 Since an illness in 1679, the new Queen had been barren, so she and her husband had no children to carry on the line.The Claim of Right Act was passed in April 1689, establishing the constitutional basis for the accession of William and Mary, and that they would reign jointly, and then that the survivor would reign alone.Queen Mary died on 28 December 1694, and King William became sole monarch of Scotland.