Japan and the U.S. conducted coordinated yen-buying intervention and will not hesitate to take further action, the Finance Ministry in Tokyo said Monday, confirming a rare bilateral action to halt the yen’s slide to fresh 40-year lows.

Preceding the announcement, U.S. President Donald Trump said on Sunday the United States is helping Japan to prop up the yen as a sign of friendship and to help the world economy.

“They have a weakening yen, and they wanted a little bit of help. And we’re always there for Japan,” Trump said when he was asked by a reporter why the U.S. is helping to support the yen.

The dollar fell 0.2% to ¥157.07 after Trump’s remarks, well off the 40-year high near ¥164 hit late last month.

In a statement, the Ministry of Finance said it conducted joint yen-buying intervention with the U.S. Treasury Department on Friday.

The move “countered excessive volatility and disorderly movements in the Japanese yen in recent months,” the statement said.

“The Japanese Ministry of Finance remains attentive and in close communication with our counterparts at the U.S. Treasury. We will not hesitate to conduct further joint intervention,” it said.

The joint intervention is the first since 2011, when the two countries took coordinated action to weaken the yen in the aftermath of the earthquake in eastern Japan.

Japan has been struggling to curb a relentless drop in the yen that pushes up import prices and stokes broader inflation, hitting households’ wallets and Prime Minister Sanae Takaichi’s public approval ratings.

Japan may have sold as much as $58.97 billion to buy yen when it intervened in New York markets on Thursday, Bank of Japan data indicated, followed by another suspected move on Friday.

On Friday, the U.S. Treasury told a number of banks it too might intervene in the yen market, a source said, while Treasury Secretary Scott Bessent — who had said the yen “seems very undervalued” — had a handwritten “To Do” list at a Cabinet meeting that said, “Buy Japanese Yen (JPY) $5-10 bil,” a photo showed.

In line with Bessent’s repeated calls for higher Japanese interest rates, the Bank of Japan on Friday offered its most explicit signal to date of an early rate hike, even as it kept monetary policy steady.

In a sign of broader policy coordination, South Korea stepped in to buy its won currency on Thursday.

Japan intervened in April and May, buying yen, causing only a brief rebound. The BOJ’s June rate hike to a 31-year high of 1% also gave the struggling currency little lasting boost.