Complex sentence: The American Claiborne was not used to a society with the number of free people of color that Louisiana had--but he worked to continue their role in the militia that had been established under Spanish rule.
Split into simpler sentences: The American Claiborne was not used to a society with the number of free people of color which Louisiana had. But he worked to continue their role in the militia, which had been established under Spanish rule.