The military history of Australia spans the nation's 220-year modern history, from the early Australian frontier wars between Aboriginals and Europeans to the ongoing conflicts in Iraq and Afghanistan in the early 21st century. Although this history is short when compared to that of many other nations, Australia has been involved in numerous conflicts and wars, and war and military service have been significant influences on Australian society and national identity, including the Anzac spirit. The relationship between war and Australian society has also been shaped by the enduring themes of Australian strategic culture and its unique security dilemma.
As British offshoots, the Australian colonies participated in Britain's small wars of the 19th century, while later as a federated dominion, and then an independent nation, Australia fought in the First World War and Second World War, as well as in the wars in Korea, Malaya, Borneo and Vietnam during the Cold War. In the Post-Vietnam era Australian forces have been involved in numerous international peacekeeping missions, through the United Nations and other agencies, including in the Sinai, Persian Gulf, Rwanda, Somalia, East Timor and the Solomon Islands, while more recently they have also fought as part of multi-lateral forces in Iraq and Afghanistan. In total, nearly 103,000 Australians died during the course of these conflicts.
For most of the last century military service has been one of the single greatest shared experiences of white Australian males, and although this is now changing due to the professionalisation of the military and the absence of major wars during the second half of the 20th century, it continues to influence Australian society to this day. War and military service have been defining influences in Australian history, while a major part of the national identity has been built on an idealised conception of the Australian experience of war and of soldiering, known as the Anzac spirit. These ideals include notions of endurance, courage, ingenuity, humour, larrikinism, egalitarianism and mateship; traits which, according to popular thought, defined the behaviour of Australian soldiers fighting at Gallipoli during the First World War. The Gallipoli campaign was one of the first international events that saw Australians taking part as Australians and has been seen as a key event in forging a sense of national identity.