How did Islam effect government in mali?

The government agreed the practice of Islam.