Five days before Donald Trump becomes President, in a move reminiscent of the ending of the Iranian hostage crisis in 1981, a ceasefire agreement has been reached.
15 months of war has resulted in a victory for neither side, but the Palestinians have lost far more. Hamas is a decimated force with much of its structure dead, seriously injured or captured. Hezbollah has gone the same way. The fall of the Assad regime has eliminated a major weapons supply route for both forces and Iran is much weakened.
Israel has badly damaged its international reputation. While it may not have sought to commit genocide, it has clearly committed war crimes in its quest to destroy Hamas and it is likely that only pressure from the international community stopped it from doing far more.
Palestinian extremism has become ingrained in their society by nearly 80 years of conflict and Israel isn't a great deal better; this war has probably hardened attitudes on both sides.
Unless some cooler heads enter the scene, there may well be another throw-down in a few years and I can't see that ending any better for the Palestinians if they're stupid enough to try that.
Of course, it could resume sooner if this ceasefire doesn't hold. The Palestinians should not give the extremists in the Israeli political world a chance to say "told you so".
In any event, a lot of people have suffered and died. For rather little. Thus is often the case for war.