The Hausa Kingdom, also known as Hausaland, was a collection of states started by the Hausa people, situated between the Niger River and Lake Chad (modern day northern Nigeria). Hausaland lay between the Western Sudanic kingdoms of Ancient Ghana and Mali and the Eastern Sudanic kingdoms of Kanem-Bornu. Hausaland took shape as a political and cultural region during the first millennium CE as a result of the westward expansion of Hausa peoples. They arrived to Hausaland when the terrain was converting from woodlands to savannah. They started cultivating grains, which led to a denser peasant population. They had a common language, laws, and customs. The Hausa were known for fishing, hunting, agriculture, salt-mining, and blacksmithing. By the 14th century Kano had become the most powerful city-state. Kano had become the base for the trans-Saharan trade in salt, cloth, leather, and grain. The Hausa oral history is reflected in the Bayajidda legend, which describes the adventures of the Baghdadi hero Bayajidda culmulating in the killing of the snake in the well of Daura and the marriage with the local queen Magajiya Daurama. According to the legend, the hero had a child with the queen, Bawo, and another child with the queen's maid-servant, Karbagari.
According to the Bayajidda legend, the Hausa states were founded by the sons of Bayajidda, a prince whose origin differs by tradition. but official canon records him as the person who married the last Kabara of Daura and heralded the end of the matriarchal monarchs that had erstwhile ruled the Hausa people. Contemporary historical scholarship views this legend as an allegory similar to many in that region of Africa that probably referenced a major event, such as a shift in ruling dynasties.
According to the Bayajidda legend, the Banza Bakwai states were founded by the seven sons of Karbagari ("Town-seizer"), the unique son of Bayajidda and the slave-maid, Bagwariya. They are called the Banza Bakwai meaning Bastard or Bogus Seven on account of their ancestress' slave status.
The Hausa Kingdoms began as seven states founded according to the Bayajidda legend by the six sons of Bawo and himself, the unique son of the hero and the queen Magajiya Daurama in addition to the hero's son, Biram or Ibrahim, of an earlier marriage. The states included only kingdoms inhabited by Hausa-speakers: