In 1555, he was arrested and charged with practicing black magic for having cast horoscopes of Queen Mary and Princess Elizabeth; the charges were expanded to treason against Mary. Dee appeared in the Star Chamber and cleared himself. When he was released, he became a scientific advisor to Queen Elizabeth One, even deciding on the best date for her to be crowned in 1558.