This could have been by conversion, marriage to a European, or by purchasing their freedom. This is not the same as the Emancipation when all slaves were set free.
The term dates from the 15th century.