President Donald Trump said he reached a deal with Russian President Vladimir Putin for Russia to supply diesel to the United States.

Trump announced the agreement on social media Friday after a phone call with Putin. He said Russia would supply more than 300,000 tons immediately, another 500,000 tons in November and 1 million tons immediately after that. A further 3 million tons would follow within a short period, he said.

The announcement reverses years of U.S. pressure on Moscow over its war with Ukraine. Trump is seeking to address high fuel prices ahead of the U.S. midterm elections.