Hasmonean conquest of Gaza

The Hasmonean conquest of Gaza happened between ~145 BCE until ~96 BCE and was fought between the Hasmoneans and the Gazan population

Battle
In 145 BCE, Jonathan Apphus initiated an attack on the city and conquered it, then under selecuid influence. Alexander Jannaeus succeeded in capturing, and incorporating Gaza into the Hasmonean dynasty as an independent kingdom, after a long siege.

Following the Hasmonean conquest of Idumea, Samaria, and Galilee, the focus shifted to the coastal plain. Cities like Akko and Jaffa in the north and Gaza in the south. Despite Gazas' alliance with the Nabateans, they didn't receive any aid. With Alexander Jannaeus' conquest of Gaza, the Nabateans lost their primary access to the Mediterranean Sea, as Gaza had served as their main port.