Most of the Castilian nobility preferred a Bourbon candidate, despite efforts by Maria Anna to ensure her nephew's succession. In June 1700, her ally Mendoza, Inquisitor General, arrested Charles's pro-French personal confessor Froilán Díaz, and charged him with 'bewitching' the king. When the committee set up to review the case acquitted Díaz, Mendoza ordered their arrest, seriously undermining Maria Anna, who was viewed as the instigator. A Council was established to investigate the Inquisition itself; it survived as an institution until 1834, but its power was broken.