The NY attorney general took office after a different politician's ouster.