Passage: In 1982, in the aftermath of the 1981 attempted coup, Senegal and The Gambia signed a treaty of confederation. The Senegambia Confederation aimed to combine the armed forces of the two states and to unify their economies and currencies. After just seven years, The Gambia permanently withdrew from the confederation in 1989.

Question: What treaty was signed after the attempted coup?
treaty of confederation