The military history of Cuba begins with the island's conquest by the Spanish and its battles afterward to gain its independence. After the Communist takeover by Fidel Castro in 1959, Cuba became involved in many major conflicts of the Cold War in Africa and the Middle East, where it supported Marxist governments and fought against Western proxies. Castro's Cuba had some 39,000–40,000 military personnel abroad by the late 1970s, with the bulk of the forces in Sub-Saharan Africa but with some 1,365 stationed in the Middle East and North Africa. Cuban forces in Africa were mainly black and mulatto (mixed-race Spanish/African).