Whitney was active in organizing the Young Men's Democratic Club in 1871. He was an aggressive opponent of the
Tweed Ring, and was actively allied with the anti-
Tammany County Democracy of 1871–1890. he was
Corporation counsel of
New York City, and as such brought about a
codification of the laws relating to the city, and successfully contested a large part of certain claims, largely fraudulent, against the city, amounting to about $20 million, and a heritage from the
Boss Tweed regime. In 1882, he resigned to attend to personal interests. In 1883, through the Broadway Railroad Company, Whitney became involved in a struggle with Jacob Sharp and
Thomas Fortune Ryan for the
Broadway street-railway franchise. Sharp initially won the franchise by means of bribery, but in December 1884 Ryan formed an alliance with Whitney and
Peter A.B. Widener. By arousing public opinion, instituting court action, and prompting legislative investigation, they defeated Sharp. The Ryan syndicate finally received the franchise in 1886. During President
Cleveland's first administration (1885–1889), Whitney was
United States Secretary of the Navy, and did much to develop the
United States Navy. Whitney promoted the adoption by industry of the technology needed for the construction of steel steamships and modern naval guns and the domestic manufacture of
plate armor. During Whitney's four years in the cabinet, his home in
Washington, D.C., was a social center of great attraction. In 1888, Yale conferred upon him the honorary degree of LL.D. Whitney joined
Charles T. Barney,
Henry F. Dimock, W.E.D. Stokes, Francis W. Jenks, and others in forming the New York Loan and Improvement Company in 1890. This concern developed the
Washington Heights section of New York City. Barney was president of the company when he died in 1907, three years after Whitney. In opposition to Tammany, Whitney was instrumental in bringing about the third nomination of Cleveland in 1892, and took an influential part in the ensuing
presidential campaign. Whitney joined his brother Henry in organizing the Dominion Coal Company Ltd. in 1893, and the
Dominion Iron and Steel Company Ltd. in 1899, to exploit the mineral resources of the
Sydney district of
Cape Breton Island. Other early investors included
Henry F. Dimock,
Almeric H. Paget and
Charles T. Barney. In the next general election, in 1896, disapproving of the "
free-silver" agitation, Whitney refused to support his party's candidate,
William Jennings Bryan. ==Thoroughbred horse racing==