On April 4, 1959, French Sudan was joined with Senegal to form the Mali Federation. This became fully independent but still inside the French Community on June 20, 1960. This union finished on August 20, 1960, when Senegal left. On 22 September, French Sudan changed its name to the Republic of Mali and left the French Community.