When Mary died of smallpox in 1694, William continued to reign alone. Anne became his heir apparent, since any children he might have by another wife were assigned to a lower place in the line of succession, and the two reconciled publicly. He restored her previous honours, allowed her to reside in St James's Palace, and gave her Mary's jewels, but excluded her from government and refrained from appointing her regent during his absences abroad. Three months later, William restored Marlborough to his offices. With Anne's restoration at court, Berkeley House became a social centre for courtiers who had previously avoided contact with Anne and her husband.