In February 1977, Libya started delivering military supplies to Goukouni Oueddei and the People's Armed Forces in Chad. The Chadian–Libyan conflict began in earnest when Libya's support of rebel forces in northern Chad escalated into an invasion. Later that same year, Libya and Egypt fought a four-day border war that came to be known as the Libyan-Egyptian War. Both nations agreed to a ceasefire under the mediation of the Algerian president Houari Boumediène. Hundreds of Libyans lost their lives in the country's support for Idi Amin's Uganda in its war against Tanzania. Gaddafi financed various other groups from anti-nuclear movements to Australian trade unions.