The Republic of Mali , with Modibo KeÃ ta as the first president , left the French Community on September 22 , 1960 .
Senegal withdrew from the federation in August 1960 , which allowed the Sudanese Republic to become the independent Republic of Mali on September 22 , 1960 . Modibo KeÃ ta was elected the first president .