The military history of Argentina spans a period of over two centuries. During the course of those years, it broke colonial ties with Spain, waged a civil war to define its organization and wars with Brazil, Paraguay, Britain and France. The military also played a role in the institutional life of the country, during a series of coups d'état that took place in the 20th century.