Edwin M. Stanton
Baker owed his appointment largely to Secretary of War Edwin M. Stanton, but suspected the secretary of corruption and was eventually demoted for tapping his telegraph lines and packed off to New York.