Colonial law with Spanish roots was introduced and attached to native customs creating a hierarchy between local jurisdiction (the Cabildos) and the Spanish Crown. Upper administrative offices were closed to native-born people, even those of pure Spanish blood (criollos). Administration was based on the racial separation. Society was organized in a racial hierarchy, with whites on top, mixed-race persons and blacks in the middle, and indigenous at the bottom. There were formal legal designations of racial categories. The Republic of Spaniards (''República de Españoles'') comprised European- and American-born Spaniards, mixed-race castas, and black Africans. The Republic of Indians (''República de Indios'') comprised the indigenous populations, which the Spanish lumped under the term Indian (''indio''), a Spanish colonial social construct which indigenous groups and individuals rejected as a category. Spaniards were exempt from paying tribute, Spanish men had access to higher education, could hold civil and ecclesiastical offices, were subject to the Inquisition, and liable for military service when the standing military was established in the late eighteenth century. Indigenous paid tribute, but were exempt from the Inquisition, indigenous men were excluded from the priesthood; and exempt from military service.