Who assumed control of the island after the death of James II