President Donald Trump issued a 60-day waiver of a longstanding U.S. shipping law in an attempt to stabilize oil markets amid the Iran war, the White House confirmed to CNBC on Wednesday.

The temporary suspension of the Jones Act “will allow vital resources like oil, natural gas, fertilizer, and coal to flow freely to U.S. ports for sixty days,” White House press secretary Karoline Leavitt said in a statement.

The Trump administration “remains committed to continuing to strengthen our critical supply chains,” Leavitt said.

The Jones Act, signed into law in 1920 by then-President Woodrow Wilson, requires that the transport of goods between U.S. ports must be conducted by U.S. vessels.

The law was intended as an effort to grow the domestic shipping industry after World War I. The statute has been criticized as a form of protectionism and some economists have recently argued that it impedes domestic trade.