In 1974, he signed an agreement with Tunisia’s Habib Bourguiba on a union between the two countries, but this also failed to work in practice, and, ultimately, differences between the two countries would deteriorate into strong animosity. Libya was also involved in a sometimes violent territorial dispute with neighboring Chad over the Aouzou Strip, which Libya occupied in 1973. This dispute eventually led to the Libyan invasion of the country and to a conflict that was ended by a ceasefire reached in 1987. The dispute was settled peacefully in June 1994 when Libyan troops were withdrawn from Chad in full respect for the International Court of Justice judgment issued on 13 February 1994.