The last tanker carrying Russian diesel destined for the U.S. under a deal between President Donald Trump and Russian President Vladimir Putin changed course Wednesday, sailing away from the East Coast with about 40,000 metric tons of fuel still on board.

And New Jersey's Democratic governor claimed victory.

The Malta-flagged Agioi Fanendes was among three tankers carrying the diesel after Trump struck an agreement with Putin in October aimed at bringing down fuel prices ahead of the November midterm elections.

The other two tankers carrying Russian fuel that had signaled the U.S. Atlantic Coast as their destination had previously altered course, shipping data showed.

Washington had eased certain sanctions on Russian diesel after the deal with Putin, but potential U.S. buyers faced legal and financial obstacles amid warnings that the authorization did not override a federal law banning Russian energy imports.

"Now, because of our efforts, two of the tankers have gone to other destinations, and the third is no longer heading toward the East Coast."

Sherrill also argued that revenue from Russian fuel sales would help Putin finance his war against Ukraine and support Iran.

"This deal is wrong and goes against our values as a country," Sherrill said. "Our operators must continue to make the right choice and refuse Trump's games that put Americans' wallets and service members' lives at risk."

The Agioi Fanendes was loaded with ultra-low-sulfur diesel at the Russian port of Primorsk in late October before heading toward New York after the agreement between Trump and Putin.

On Nov. 9, the vessel came to a near standstill about 420 nautical miles east of New York, where it remained for more than three weeks, according to maritime intelligence firm Kpler.

The tanker resumed its voyage Tuesday, heading southeast at 11 to 13 knots, phone call with Putin that Russia had agreed to supply millions of tons of diesel to the U.S. On Oct. 9, the Treasury Department's Office of Foreign Assets Control (OFAC) issued General License No. 135, authorizing certain transactions involving the sale, delivery, unloading and importation of Russian diesel, according to Sherrill's office.

The U.S. Treasury Department Ending Importation of Russian Oil Act in April 2022, prohibiting imports of Russian energy products and establishing conditions under which the president could lift the ban.

In a Nov. 2 letter to New Jersey port and terminal operators, Sherrill argued that the Treasury Department lacked the authority to circumvent those restrictions and warned businesses that accepting the fuel could expose them to millions of dollars in penalties.

Fox News Digital reached out to the White House for comment.