JERUSALEM — Egypt’s intelligence chief Abbas Kamel paid a rare visit to Israel on Wednesday to discuss the cease-fire deal between Israel and the Hamas militant group that followed an 11-day war in May, Israel announced.

Prime Minister Naftali Bennett’s office said Egyptian official Abbas Kamel also invited the Israeli leader to visit Egypt in the coming weeks.

Egypt has played a key mediation role between Israel and Hamas over the years. Israel and Gaza’s Hamas rulers are bitter enemies that have fought four wars since the militant group took control of Gaza in 2007.

The most recent war ended in May, but the sides appear to have reached no agreements beyond a halt in fighting.

Bennett’s office said Wednesday’s talks focused on mutual security and economic issues as well as “Egyptian media in the Gaza security situation.”

“Kamel extended an invitation on behalf of Egyptian President Abdel Fattah El-Sissi,” Bennett’s office added. — Agencies