A coup against Prime Minister Shinzo Abe has taken place in the northeast of Japan, where thousands of civilians have been displaced.
The coup came after an attempted military takeover by a group of rebels backed by the US and Japan.
The new government in Tokyo has now vowed to end the countrys military intervention in the region.
“Japan will continue to support the international community in this area,” Foreign Minister Taro Kono said on Monday.
The Japanese government has called on the United Nations to investigate and condemn the coup.
It also said it would seek to “make Japan a model for how international law is respected”.
The Japanese military intervention is in response to an April 9, 2020, military takeover of the southern Japanese city of Fukuoka by rebel groups led by the New Alliance for Democracy (NAD).
It was launched after the Japanese government declared that it had no need for its troops in the capital, Tokyo.
In Tokyo, the Japanese parliament has passed a resolution to “condemn” the military coup and hold a meeting with the heads of all relevant ministries.
On Monday, Japan’s parliament voted overwhelmingly to condemn the latest military coup.
“The government will continue its work to promote the rule of law in the world,” Kono told reporters.
“It will continue with its efforts to build an independent and peaceful Japan, which respects the principles of human rights, democracy, and international law.”
The new military government in Japan has been formed by the ruling Liberal Democratic Party (LDP), which has the largest number of seats in the legislature.
It has been backed by former military leader Gen Nakatani, a close ally of Abe.
In a statement, Natsumi Kato, a government spokesman, said the military’s coup was a “flagrant violation of Japanese law”.
“Japan has a long history of military intervention, including a long list of military coups,” she said.
The military has not commented on the latest coup, although it was widely expected to.
“I would like to express our sincere condolences to the people of Fukugawa and the Japanese people for the tragic loss of lives in this coup,” Gen Nakata told a news conference, referring to the town’s Japanese name.
“There will be a process of reconciliation with the people, but this is not something we can take responsibility for.”
A government statement on Sunday said “in view of the strong and growing international condemnation of the coup, we have decided to cancel the decision to recall Gen Nakatsuchi.”