Ellen Brooks, a special prosecutor, said Mr. Bentley quit in connection with a plea agreement on two misdemeanor charges: failing to file a major contribution report and knowingly converting campaign contributions to personal use.