By 1691 the palace had become the largest and most complex in Europe. On 10 April a fire broke out in the much-renovated apartment previously used by the Duchess of Portsmouth, damaging the older palace structures, though apparently not the state apartments. This actually gave a greater cohesiveness to the remaining complex. At the end of 1694 Mary II died in Kensington Palace of smallpox, and on the following 24 January lay in state at Whitehall; William and Mary had avoided Whitehall in favour of their palace at Kensington.