has Gaza ever part of Israel?

Gaza has been part of various political entities throughout history, including ancient Israel, the Byzantine Empire, the Islamic Caliphates, the Ottoman Empire, and the British Mandate of Palestine.

In 1948, following the Israeli War of Independence, Egypt occupied and administered the Gaza Strip, while Jordan occupied and administered the West Bank. During the Six-Day War in 1967, Israel gained control of the Gaza Strip from Egypt and the West Bank from Jordan. However, it should be noted that the international community does not recognize Israel's sovereignty over these territories, considering them occupied Palestinian territories.

Israel disengaged from the Gaza Strip in 2005, withdrawing all its settlements and removing its military presence. Since then, Gaza has been under the control of the Palestinian militant group Hamas, while Israel maintains control of its borders, airspace, and coastal waters.