Before revision: The mameluco threat ended only after 1639, after the capture of thousands of Indian neophytes , when the viceroy in Peru agreed to allow Indians to bear arms.
After revision: The mameluco threat eased only after 1639, after thousands of Indians had been captured and enslaved , when the viceroy in Peru agreed to allow Indians to bear arms.