A number of historians have claimed the offensive which resulted in the capture of the Gaza to Beersheba line and Jerusalem, and the Megiddo operation were similar. In this regard, it is argued that they were both "a cavalry envelopment of the Ottoman flank", and that the breakthroughs both came at unexpected locations. At Gaza–Beersheba, the breakthrough occurred at the eastern end of the front line at Beersheba instead of Gaza as the Ottomans had expected, while at Megiddo the breakthrough occurred on the Mediterranean coast at the western end of the front line when it was expected across the Jordan.