Prayers by Muslim worshipers at a contested shrine in Jerusalem went ahead peacefully Friday, after police were put on high alert following two weeks of protests.

Firas Dibs, a spokesman from the Jordanian body that administers the holy site — known as the Noble Sanctuary to Muslims and the Temple Mount to Jews — said that tens of thousands of people attended Friday prayers.

Israeli police spokesman Micky Rosenfeld said the prayers ended without incident, although there were some sporadic low-level altercations between Palestinians and Israeli forces nearby.

In the West Bank, Israel's military said a Palestinian was shot dead after he ran at troops armed with a knife. It said no soldiers were injured.

The military said Palestinian protesters threw rocks and fire bombs and rolled burning tires at soldiers who responded with tear gas and rubber bullets at several protests in the West Bank.

Earlier Friday, Israel banned men under the age of 50 from the holy site. Rosenfeld said the ban was introduced after some Palestinians barricaded themselves inside the Al-Aqsa Mosque at overnight so they could join protests later. Rosenfeld said the would-be protesters were removed.

Clashes erupted Thursday between police and Muslim worshipers shortly after the site in the Old City reopened following an 11-day prayer boycott over metal detectors and other security measures Israel installed at the site.

Israel placed the metal detectors at the entry gates to the Esplanade of the Mosques last week after Arab-Israeli gunmen killed two Israeli police guards near the shrine on July 14. The detectors sparked mass prayer protests by Muslims outside the Old City and protests by Palestinians elsewhere.

Israeli police and Palestinian protesters clashed a week ago outside the Old City as young men threw rocks and improvised Molotov cocktails, while officers responded with water cannons and stun grenades. Thousands of Muslims prayed just outside the security zone. Muslim men under 50 were also barred from entering the Old City that day.

The detectors were removed earlier this week and Israel instead installed security cameras and barricades. Those measures have also been dismantled and Muslim leaders urged worshipers to return Thursday to the site to pray.

Israel had said the security measures were necessary to prevent further attacks, but Palestinians believe Israel was trying to expand its control over the site.

The compound, the third-holiest site in Islam and the most sacred in Judaism, houses the Al Aqsa and Dome of the Rock mosques. About 50,000 Muslim worshipers typically descend on the Old City for prayers every Friday.

Contributing: The Associated Press

READ MORE:

Clashes erupt after Jerusalem shrine reopens for Muslim prayers

Thousands join Muslim prayer protests over Jerusalem shrine

Clashes erupt in Jerusalem over access to contested shrine

Gaza was a wretched place. Now it's even worse off. Here's why



