Viceroy Antonio de Mendoza then visited the area, under his appointment by King Charles I of Spain to pacify the various indigenous people of New Spain and to unify the territory, which was partially divided among competing conquistadors.