CAIRO — The Islamic State threatened attacks on US soil in retaliation for the Trump administration’s decision to recognize Jerusalem as the capital of Israel, one of the group’s social media accounts reported Thursday without giving any details.

In a message on one of its accounts on the Telegram instant messaging service titled “Wait for us” and “ISIS in Manhattan,” the group said it would carry out operations and showed images of New York’s Times Square and what appeared to be an explosive bomb belt and detonator.

“We will do more ops in your land, until the final hour and we will burn you with the flames of war which you started in Iraq, Yemen, Libya and Syria and Afghan. Just you wait,” it said.

“The recognition of your dog ‘Trump’ (sic) Jerusalem as the capital of Israel will make us recognise explosives as the capital of your country.”

Washington triggered widespread anger and protests across the Arab world with its decision on Jerusalem. The disputed city is revered by Jews, Christians and Muslims alike, and is home to Islam’s third-holiest site. It has been at the heart of the Israeli-Palestinian conflict for decades.

The Islamic State was driven out of its Iraqi and Syrian capitals this year and squeezed into a shrinking pocket of desert straddling the border between the two countries.

The forces fighting the Islamic State in Iraq and Syria now expect a new phase of guerrilla warfare there. Militants including people claiming allegiance to the Islamic State have carried out scores of deadly attacks in Europe, the Middle East, Africa, Asia and the United States over the past two years.