In the highland Andes mountains, where life was more sedentary, groups of tribes cooperated and formed villages; thus the first nations based on agricultural resources and the domestication of animals formed. Eventually, through wars and marriage alliances of their leaders, a group of nations formed confederations. One region consolidated under a confederation called the Shyris, which exercised organized trading and bartering between the different regions. Its political and military power came under the rule of the Duchicela blood-line.