Who was the Greek philosopher who was condemned to slavery, why so, how he got freed and by whom? thanks and thanks

Epictetus (c. 55-135) was born a slave and was freed by his master in later life; it's not really known why, but such a thing was not uncommon. In the ancient Greek world, people became slaves if they were captured in war or were born of a slave (rather than being 'condemned' to slavery)