How did Mali rise to power?

Mali rose to power by conquering a close kingdom named Ghana the defeated it and took control of the gold and salt trade in Western africa in about 1250.