The Mahabharata text mentions various kingdoms and tribes that aligned with either the Kaurava or Pandava forces.