The son of a prominent New York political family -- his father was treasury secretary under Franklin D. Roosevelt -- he served as United States attorney in Manhattan in the Kennedy administration , and twice ran unsuccessfully for governor .