The repartimiento, for the most part, replaced the encomienda of throughout the Viceroyalty of New Spain by the beginnng of the 17th century. In Peru encomiendas lasted longer, and the Quechua word mita frequently was used for repartimiento. There were instances when both systems (repartimiento and encomienda) coexisted.
In practice, a conquistador, or later a Spanish settler or offiical, would be given and supervised a number of indigenous workers, who would labor in farms or mines, or in the case of the Philippines might also be assigned to the ship yards constructing the Manila galleons. The one in charge of doing the reparto ("distribution") of workers was the Alcalde Mayor (local magistrate) of the city. Native communities that were close to Spanish populations were required to provide a percentage of their people (2-4 %) to work in agriculture, construction of houses, streets, etc. The diminution of the number of natives in the Americas due to European diseases (smallpox, influenza, measles and typhus) to which the native populations had no resistance, as well as to desertion from the work fields, led to the substitution of the encomienda system and the creation of privately-owned farms and haciendas. Many native people escaped the encomienda and repartamiento by leaving their communities. Some looked for wage labor; others signed contracts (asientos) for six months to a year, during which time the worker was required to be paid a salary (something the Spanish Crown did not enforce or support), and provided living quarters as well as religious services. There were many cases in which both wage and repartimiento laborers worked side-by-side on farms, mines, obrajes or haciendas.