By Mariko Oi, BBC business reporter
Japan has unexpectedly fallen into a recession after its economy shrank for two quarters in a row.
The country's gross domestic product (GDP) contracted by a worse-than-expected 0.4 percent in the last three months of 2023, compared to a year earlier.
It came after the economy shrank by 3.3 percent in the previous quarter.
The figures from Japan's Cabinet Office also indicate that the country has lost its position as the world's third-largest economy to Germany.
Economists had expected the new data to show that Japan's GDP grew by more than 1 percent in the fourth quarter of last year.
The latest figures were the first reading of Japan's economic growth for the period and could still be revised.
Two quarters in a row of economic contraction are typically considered the definition of a technical recession.
In October, the International Monetary Fund (IMF) forecast that Germany was likely to overtake Japan as the world's third-largest economy when measured in US dollars.
The IMF will only declare a change in its rankings once both countries have published the final versions of their economic growth figures. It began publishing data comparing economies in 1980.
Economist Neil Newman told the BBC that the latest figures show that Japan's economy was worth about US$4.2 trillion (NZ$6.9tn) in 2023, while Germany's was U$4.4tn.
This was due to the weakness of the Japanese currency against the dollar and that if the yen recovers, the country could regain the number three spot, Newman added.
At a press conference in Tokyo this month, the IMF's deputy head, Gita Gopinath, also said an important reason for Japan potentially slipping in the rankings was the yen falling by about 9 percent against the US dollar last year.
However, the weakness of the yen has helped to boost the share prices of some of Japan's biggest companies as it makes the country's exports, such as cars, cheaper in overseas markets.
This week, Tokyo's main stock index, the Nikkei 225, crossed the 38,000 mark for the first time since 1990, when a collapse in property prices triggered an economic crisis. The Nikkei 225's record high of 38,915.87 was set on 29 December 1989.
The latest GDP data may also mean that the country's central bank may further delay a much-anticipated decision to raise the cost of borrowing.
The Bank of Japan introduced a negative interest rate in 2016 as it tried to boost spending and investment.
Negative rates make the yen less attractive to global investors, which has pushed down the currency's value.
-This story was first published by the BBC.