Help please!
Write these two sentences in French

To be born into slavery treatment was harsh, and it was legal to mistreat people of color. Fortunately, he had white masters who were kind and allowed him to gain an education.

Please don't use a translation app or site, they can be incorrect so please know your French. Merci.