The Sudanese Republic and Senegal became independent of France in 1960 as the Mali Federation .