 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.