Hasmonean conquest of Gaza
The first conquest of Gaza occurred under Jonathan Apphus around ~145 BCE, when he was acting under Seleucid influence. The second conquest took place around ~96-94 BCE under Alexander Jannaeus, during the period when Judea was an independent kingdom. It 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 Gaza's 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.