During
World War I he was Secretary for the
YMCA in Europe and laid plans to pursue a political career when he returned home. He was a member of the
New York State Assembly (Erie Co., 7th D.) in
1923,
1924,
1925,
1926,
1927 and
1928. He was elected as a Republican to the
71st and
72nd United States Congresses, holding office from March 4, 1929, to March 3, 1933. In 1932, he was defeated for re-election by
Alfred F. Beiter. Cooke then resumed the practice of law in
Buffalo and began his decades of work to improve the lot of dairy farmers in the Northeast Milk Shed. He was Founder, and for 25 years the General Manager and Counsel for Mutual Federation of Independent Cooperatives, an organization of dairy farmers in the Northeast United States that supplies milk and other dairy products to metropolitan New York. ==Personal life==