Where was ancient Mali located in Africa?

Generally the same as modern day Mali, though ancient Mali was connected to the coast.