Amid deteriorating security after the Taliban's takeover of Afghanistan, Japan has evacuated all personnel from its embassy in Kabul and set up a temporary office in Istanbul to resume embassy operations, the Foreign Ministry said Tuesday.

Twelve Japanese embassy staff members arrived in Dubai on Tuesday "aboard a military airplane of a friendly nation" after the embassy in Kabul was shut Sunday, according to the ministry.

"Securing the safety of Japanese citizens is our top priority, and we will closely cooperate with relevant countries including the United States with our national interests in mind," Prime Minister Yoshihide Suga told a news conference.