 However, the CIO's political efforts were only marginally effective, and in 1946, the Republicans won a majority in both houses of Congress.In 1947, Congress passed the Labor Management Relations Act of 1947, better known as the Taft-Hartley Act.Section 304 amended Section 313 of the Federal Corrupt Practices Act to make it unlawful for any labor organization to make a contribution or expenditure in connection with any election in which presidential and vice presidential electors or a member of Congress are to be voted for or in connection with any primary election, political convention or caucus to select candidates for such offices.