Three Arab-Israeli gunmen have opened fire at police near Jerusalem's holiest site, killing two Israeli policemen before security forces killed the attackers.
Israeli authorities shut the area after the attacks - the most serious incident in years close to the highly sensitive compound, which is holy to both Muslims and Jews.
The closure stopped Muslims gathering there for Friday prayers, drawing a call for resistance from Palestinian leaders.
The gunmen arrived at the sacred site, known to Muslims as the Noble Sanctuary and to Jews as Temple Mount, and walked towards one of the Old City gates nearby, police spokeswoman Luba Simri said.
"When they saw policemen they shot towards them and then escaped towards one of the mosques in the Temple Mount compound," Simri said. "A chase ensued and the three terrorists were killed by police."
She said three firearms were found on their bodies. The Shin Bet Israeli internal security service said the three gunmen were Arab citizens of Israel.
There was no immediate comment from the Palestinian Authority, which exercises limited self-rule in the West Bank. No group claimed responsibility, though the Palestinian Islamist group Hamas, which rules the Gaza Strip, praised the attack.
"Hamas lauds the heroic operation in Jerusalem," Hamas spokesman Abdel-Latif al-Qanoua said in a statement.
Mobile phone video footage aired by Israeli media showed several policemen chasing a man and shooting him down at the site, which is a popular place for foreign tourists to visit. Israeli authorities are still working to identify the attackers, police spokesman Micky Rosenfeld said.