President Barack Obama signed a bill on Wednesday barring the import of goods produced by forced labor from entering the United States, throwing the weight of the U.S. market into the fight against global slavery.

Shipments derived from slavery, from fish to electronics and cocoa, will be kept out of the country under the new law that closes a legal loophole that allowed import of goods derived from forced labor if U.S. demand exceeded domestic production, officials said.

The measure closing the loophole from the Tariff Act of 1930 was included in a wider trade enforcement bill, which Obama signed into law at the White House in Washington.