In the nineteenth century, when some were invoking science to “prove” that certain people were lesser, others were charting a different course.