Although the U.S. has lost millions of jobs over the past 15 years to foreign rivals — mainly in manufacturing — exports have become a bigger part of the economy than ever before. Almost 12 million American jobs are now tied to exports, according to the International Trade Administration.

Trump and Sanders have vowed to revisit prior free-trade deals. In Trump’s case, he’s even threatened to slap huge tariffs on Chinese or Mexican imports if those countries don’t bow to his demands.

A trade war with China, Mexico, Japan and other countries could endanger thousands of export-related jobs in a prolonged dispute. Here are the five U.S. states whose economies could lose out the most because they are heavily dependent on trade to create jobs and growth.

Getty ImagesLouisiana’s economy is more dependent on exports than any other and could be a big loser in a trade war.

Slide 2 of 7

1)Louisiana

The Pelican state is the most reliant on trade in the entire country. Exports of goods — services are excluded — accounted for about 25% of Louisiana’ economy in 2014 (the last full year government figures available). A large port on the Gulf Coast make the state a gateway to the rest of the world.

Almost 4,000 companies in the state export to other nations and 170,000 jobs are tied to trade, ITA data show.

Leading exports include petroleum, soybeans and corn. The top destination: China.

Despite Louisiana’s reliance on trade, voters backed Trump earlier in the year. Both Trump and Sanders have been especially tough in the campaign remarks on China.

Getty ImagesBoeing accounts for more than half the exports of Washington state in terms of value. China is the top destination.

Slide 3 of 7

2)Washington

Some 12,000 companies in the state are exporters, but Boeing towers over all of them. The sale of aircraft generate more than half of Washington’s goods exports in terms of value.

Many of those planes are destined for China — Washington exports more goods to the Asian giant than any other state. Nearly 400,000 state jobs are linked directly or indirectly to trade.

Washington is also a large exporter of soybeans and wheat.

About 20% of the state’s economy is tied to trade. That’s likely to grow given Washington’s port capabilities and its proximity to growing Asian markets.

Getty ImagesThe Lone Star state is an export powerhouse.

Slide 4 of 7

3)Texas

No surprise: The location of Texas on the Gulf Coast, its huge energy resources and its large economy make the Lone Star State an export powerhouse. Good exports made up about 18% of the state’s economy in 2014.

Petroleum and related energy products are the state’s top export, followed by computers and aircraft. About 1.1 million jobs are tied to exports, or about one of every 12 workers in the state.

Mexico, the country that shares a border with Texas, is the state’s biggest destination for exported products. China is another biggie.

Getty ImagesSouth Carolina is now a major manufacturer of Boeing aircraft as well as new autos.

Slide 5 of 7

4)South Carolina

More than 5,800 companies in the Palmetto state export , providing 150,000-plus jobs.

South Carolina has aggressively courted foreign companies to set up shop and it’s become a mini auto and airline hub of sorts. Autos, parts and tires are South Carolina’s top exports, along with aircraft. Boeing also has a plant in the state.

Exports generate about 16% of South Carolina economic activity and its share is constantly growing. China is the state’s largest trade partner.

Trump won the Republican primary in South Carolina.

Getty ImagesBourbon, a major Kentucky export, is increasingly sought out by foreign customers.

Slide 6 of 7

5)Kentucky

The Bluegrass state, like South Carolina, is a major exporter of aircraft, autos and parts. Kentucky has also sought to attract more manufacturing with business friendly tax and regulatory laws.

Medical equipment is another major trade good, and foreigners have taken a liking to Kentucky bourbon, too. Whiskey is one of the state’s top 10 exports.

In 2014, goods exports accounted for about 15% of the state’s economy. More than 4,000 companies are exporters and nearly 140,000 jobs are tied to trade.

Canada is Kentucky’s largest trading partner, with Mexico at No. 3 and China at No. 4. Trump won the Kentucky caucus.

Getty ImagesBourbon, a major Kentucky export, is increasingly sought out by foreign customers.

Slide 7 of 7

5)Kentucky

The Bluegrass state, like South Carolina, is a major exporter of aircraft, autos and parts. Kentucky has also sought to attract more manufacturing with business friendly tax and regulatory laws.

Medical equipment is another major trade good, and foreigners have taken a liking to Kentucky bourbon, too. Whiskey is one of the state’s top 10 exports.

In 2014, goods exports accounted for about 15% of the state’s economy. More than 4,000 companies are exporters and nearly 140,000 jobs are tied to trade.

Canada is Kentucky’s largest trading partner, with Mexico at No. 3 and China at No. 4. Trump won the Kentucky caucus.

Intraday Data provided by SIX Financial Information and subject to terms of use. Historical and current end-of-day data provided by SIX Financial Information. All quotes are in local exchange time. Real-time last sale data for U.S. stock quotes reflect trades reported through Nasdaq only. Intraday data delayed at least 15 minutes or per exchange requirements.