The office is a potential firewall against an out-of-control president and a historically corrupt New York State government.