Israel closed the Erez border crossing between the Jewish state and Gaza on Wednesday after violent riots caused damage to the border terminal that allows the passage of Gaza pedestrians.

Hundreds of Palestinians took part in an altercation with Israel Defense Forces’ officers at the entrance to Israel, damaging infrastructure on the Palestinian side of the crossing.

The IDF reported that Palestinians hurled rocks and attacked the crossing, at which point troops responded with tear gas and live fire. The IDF responded by shutting down the crossing, except to humanitarian cases.

An average of 1,000 Gazans cross through Erez on a daily basis.