Central Mali became gripped by ethnic violence after a jihadist revolt broke out in the north of the country in 2012.