JERUSALEM (JTA) — A Hamas tunnel was discovered under a United Nations school in the Gaza Strip.

The tunnel was discovered on Oct. 15 by the United Nations Relief and Works Agency for Palestine Refugees, which runs the school, and Israeli authorities were notified, the UNRWA said in a statement released Saturday.

The school was immediately closed and the tunnel sealed, according to the statement. The school reopened 10 days later.

“The presence of a tunnel underneath an UNRWA installation, which enjoys inviolability under international law, is unacceptable. It places children and Agency staff at risk,” the UNRWA said in the statement. “The Agency again demands full respect for the neutrality and inviolability of United Nations premises at all times. Any activities or conduct that put beneficiaries and staff alike at risk, and undermine the ability of UNRWA staff to provide assistance to Palestine refugees in safety and security, must cease.”

It is the second time this year that a Hamas tunnel has been discovered under a U.N.-supported school in Gaza. A tunnel was found under a different school in June, Ynet reported.

Hamas has used a network of tunnels running from Gaza to southern Israel to launch attacks on Israel and to kidnap Israeli soldiers into the coastal strip.