WASHINGTON, D.C. — The United States has long been a leader of the free-trade movement around the world, and President Barack Obama set major trade treaties at the center of his economic initiatives.

That makes it all the more odd that free trade has become a certified villain among candidates battling to succeed Obama in the White House — and while it is not uncommon for Democrats to criticize free trade, the candidates of the Republican Party, long a defender of free trade, are falling over each other to demonstrate who is more protectionist.

That has raised questions over whether the next occupant of the White House will pursue ratification of one of Obama’s signal achievements, the Trans-Pacific Partnership trade deal (TPP), and complete negotiations on another, the Transatlantic Trade and Investment Partnership (TTIP).

On the Democratic front, Hillary Clinton, who supported the TPP talks as Obama’s secretary of state, now tells voters she does not like the pact.

“I don’t believe it’s going to meet the high bar I have set,” she said. “We’ve learned a lot about trade agreements in the past years, sometimes they look great on paper,” she said, pointing to the 2012 bilateral trade treaty with South Korea. “Looking back on it, it doesn’t have the results we thought it would have.”

Bernie Sanders, who is trailing Clinton, is firmer in his opposition. He said the TPP would be “disastrous” for American workers and serves only corporate needs in a “race to the bottom.”

Republicans Equally Critical

Among Republicans, the tone is hardly different.

Donald Trump, the real estate tycoon leading the pack, said the TPP “is going to lead to nothing but trouble” and has declared he would hit Mexico, China and Japan with high tariffs.

“Let’s slap a 45% tariff on Chinese imports,” Trump declared in January.

In a debate Thursday night, Trump’s main rival, Senator Ted Cruz, declared: “I opposed TPP, and have always opposed TPP. ... We’re getting killed in international trade right now.”

Such rhetoric has made U.S. business, which has strongly backed both of Obama’s pacts, nervous.

“We are concerned the prescriptions that have been offered are even worse than the disease,” said John Murphy, senior vice president for international policy at the US Chamber of Commerce. “Trade has been a huge part of the recovery.”

The new tone is deeply at odds with the country’s history of championing open borders and low tariffs. In 1994, Democratic president Bill Clinton completed the controversial North American Free Trade Agreement that lowered barriers on trade with Canada and Mexico.

In his wake, Republican president George W. Bush pushed ahead with a number of bilateral and regional trade pacts.

Obama’s TPP and TTIP pacts are far more ambitious, extending well beyond trade in goods to setting standards for investment and technology. He called them “agreements for fair and free trade that level the playing field for our workers, open new markets for our businesses.”

“These kinds of agreements reflect the realities of a 21st-century economy,” he said last year.