How many years passed from Ghana's decline to the Mali Empire consolidating western Sudan?
By the ninth century CE, a string of dynastic states, including the earliest Hausa states, stretched across the sub-Saharan savannah from the western regions to central Sudan. The most powerful of these states were Ghana, Gao, and the Kanem-Bornu Empire. Ghana declined in the eleventh century, but was succeeded by the Mali Empire which consolidated much of western Sudan in the thirteenth century. Kanem accepted Islam in the eleventh century.
Ghana declined in the 11th century, Mali Empire consolidated much of western Sudan in the 13th century, so 2 centuries passed which equals 200 years.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
By the ninth century CE, a string of dynastic states, including the earliest Hausa states, stretched across the sub-Saharan savannah from the western regions to central Sudan. The most powerful of these states were Ghana, Gao, and the Kanem-Bornu Empire. Ghana declined in the eleventh century, but was succeeded by the Mali Empire which consolidated much of western Sudan in the thirteenth century. Kanem accepted Islam in the eleventh century.
----------------
Answer the following query.
How many years passed from Ghana's decline to the Mali Empire consolidating western Sudan?

user
Ghana declined in the 11th century, Mali Empire consolidated much of western Sudan in the 13th century, so 2 centuries passed which equals 200 years.
assistant