After initial recruitment and training, the AIF departed for Egypt where they underwent further preparations, and during this period the Australian and New Zealand Army Corps (ANZAC) was founded. Their deployment, training and reorganisation in Egypt were undertaken as preparations for the start of the invasion of the Ottoman Empire via the Gallipoli peninsula.