After the capture of Jericho by the Egyptian Expeditionary Force (EEF) in February 1918 the occupation of the Jordan Valley began. However, the captured territory was not sufficiently broad to provide a strong enough base for the planned Transjordan operations. The EEF's front line was successfully pushed northwards following attacks by the XX and XXI Corps against the Ottoman Seventh Army and Eighth Army. At the end of March the First Transjordan attack on Amman was launched to be followed the next month by the Second Transjordan attack on Shunet Nimrin and Es Salt.