Israel has begun dismantling metal detectors it installed a week earlier at the gates of a contested Jerusalem shrine, amid widespread protests from the Muslim community.

The metal detectors were installed in response to an attack that killed two Israeli police guards at the Muslim-administered holy site.

The removal is meant to defuse escalating tensions between Israel and the Muslim world, including key security ally Jordan.

It remains unclear if Muslim leaders will accept a decision by Israel’s security Cabinet early on Tuesday to replace the metal detectors with “sophisticated technology,” reportedly cameras that can detect hidden objects.

Muslims alleged Israel was expanding control at the site under the guise of security. Israel has denied this.