How did the mali rise?

The Mali lived in West Africa between 300 and 1324 AD. It began when they took over Ghana because the leaders there lost control of the area.