Japan’s core inflation rate accelerated to 2.9% in September, the first increase since May and in line with expectations from economists polled by Reuters.

This was higher than the 2.7% seen in August. The core inflation metric in Japan strips out the prices of fresh food but includes energy costs.

Headline inflation in Japan also climbed to 2.9% from 2.7% the previous month.

In contrast, the so-called “core-core” inflation rate — which strips out both fresh food and energy costs and is closely monitored by the Bank of Japan — eased to 3% from 3.3% in August.

The data comes as Japan sees a new prime minister in Sanae Takaichi, who inherits an economy beset by trade uncertainties, cost-of-living worries, and a central bank determined to raise interest rates and normalize monetary policy.