After initial recruitment and training, the AIF departed for Egypt where they underwent further preparations, and where the Australian and New Zealand Army Corps (ANZAC) was formed. Their presence in Egypt was due to the planned invasion of the Ottoman Empire via the Gallipoli peninsula. On 25 April, the AIF landed in what is now known as ANZAC Cove, which signaled the start of Australia's contribution to the campaign. The ANZACs had little success and fighting quickly devolved into trench warfare, whereby a stalemate ensued. On 15 December 1915, after eight months of fighting, the evacuation of Gallipoli commenced, and finished 5 days later with no casualties recorded. After regrouping in Egypt, the AIF was primarily split between the Australian Light Horse and infantry, and further expanded with reinforcements. This division would see the infantry go the Western Front, whereas the Light Horse would fight the Ottomans in Arabia and the Levant.