After the end of the Suez Canal Campaign, allied forces went on the offensive for over six months into early 1917, pushing the Ottoman Army back across the Sinai Peninsula, before being stopped by the First Battle of Gaza in March 1917.