Sentence 1:The Bamana people inherited much from their close relations , the Mandinka , in civic and military culture . Sentence 2:They formed their own empire 1640 , which filled the vacuum left by the Mali and Songhai empires .