Right-to-work laws originated with the Taft-Hartley Act of 1947, the federal law that prohibits requiring union membership as a condition of employment and put an end to “closed shops.” At the same time, the law left the choice of whether or not to permit so-called “agency shops ” to the discretion of the states.