Carrier has agreed to keep about 1,000 jobs in Indiana, delivering an important win to President-elect Donald Trump, , who pledged during his campaign to keep Carrier from shipping jobs to Mexico.

Carrier, owned by Hartford, Conn.-based United Technologies (UTX)  , posted on Twitter Tuesday evening that it has reached an agreement with Trump and Vice President-elect Mike Pence, currently the governor of Indiana, to keep "close to 1,000 jobs in Indy." 

We are pleased to have reached a deal with President-elect Trump & VP-elect Pence to keep close to 1,000 jobs in Indy. More details soon.

— Carrier (@Carrier) November 30, 2016

Details on the agreement are still to come.

Carrier made waves in February when a video was posted on YouTube showing workers being told they would soon be laid off because the air- conditioning and heating-systems maker had decided to move two Indiana-based plants to Mexico.

Carrier anticipated the move would result in the loss of 2,100 U.S.-based jobs. Based on Tuesday's announcement, the company will keep 1,000 jobs in Indiana. It is not known whether the other 1,100 jobs will still be moved.

Trump and Pence will appear at Carrier's Indianapolis factory on Thursday to announce the deal and may reveal more information on the agreement.

The issue became a major talking point for Trump before and after the election. He frequently discussed Carrier on the campaign trail, and he tweeted as recently as Thanksgiving Day that he was "making progress" with the firm.

I am working hard, even on Thanksgiving, trying to get Carrier A.C. Company to stay in the U.S. (Indiana). MAKING PROGRESS - Will know soon!

— Donald J. Trump (@realDonaldTrump) November 24, 2016

Trump spokesman Jason Miller foreshadowed the agreement in a call with reporters on Tuesday morning, saying that both Trump and Pence had been "very hands-on" about the matter.

Vermont Senator Bernie Sanders has taken up the issue as well. Over the weekend, he urged Trump to use United Technologies' defense contracts as leverage for negotiations on Carrier. United Technologies had $6.8 billion in federal government contract obligations in 2015.

Trump on Tuesday evening took to Twitter to trumpet news of the accord.

I will be going to Indiana on Thursday to make a major announcement concerning Carrier A.C. staying in Indianapolis. Great deal for workers!

— Donald J. Trump (@realDonaldTrump) November 30, 2016

Big day on Thursday for Indiana and the great workers of that wonderful state.We will keep our companies and jobs in the U.S. Thanks Carrier

— Donald J. Trump (@realDonaldTrump) November 30, 2016

Trump representatives did not return a request for comment on the agreement.

More from Politics

Jim Cramer: Does Saudi Arabia Think Oil Prices Are Too High?

Jim Cramer: Does Saudi Arabia Think Oil Prices Are Too High?

Cramer: North Korea Market Selloff Means Buying Opportunities in Domestic Stocks

Cramer: North Korea Market Selloff Means Buying Opportunities in Domestic Stocks

U.S. Considers New Tariffs on Imported Vehicles

U.S. Considers New Tariffs on Imported Vehicles

Trump Administration Ups Dose Of Shame As TV Drug Ad Policy Idea Moves Forward

Trump Administration Ups Dose Of Shame As TV Drug Ad Policy Idea Moves Forward

Bank Stocks Slump After Congress Greenlights Dodd-Frank Rollback

Bank Stocks Slump After Congress Greenlights Dodd-Frank Rollback