How did Mali get its name?

it got its name from the malian empire and it means "the kingdom of sand" in The Malian language