The ILGWU began reducing its support for the CIO and, after a few years in which it attempted to be allies with both sides, reaffiliated with the AFL in 1940. Dubinsky regained his former positions as a vice president and member of the executive council of the AFL in 1945. He was the most visible supporter within the AFL of demands to clean house by ousting corrupt union leaders. The AFL-CIO ultimately adopted many of his demands when it established codes of conduct for its affiliates in 1957.