CASABLANCA, Morocco — More than 10,000 Moroccans chanting “death to Israel” took to the streets of Casablanca on Sunday to protest the United States’ decision to move its embassy in Israel to Jerusalem.

The marchers carried Palestinian flags and placards that called Jerusalem “Palestine’s eternal capital.” Most appeared to be Islamists, with women wearing head scarves and marching separately from the men.

The United States opened its embassy in Jerusalem on May 14, relocating it from Tel Aviv — a move that reversed decades of United States policy, delighted Israel and infuriated Palestinians.

The status of Jerusalem is one of the thorniest obstacles to forging a peace deal between Israel and the Palestinians, who with broad international backing want East Jerusalem, captured by Israel in the 1967 Middle East war, as their capital.