Slaves were considered property under Roman law and had no legal personhood. Unlike Roman citizens, they could be subjected to corporal punishment, sexual exploitation (prostituteswere often slaves), torture, and summary execution. The testimony of a slave could not be accepted in a court of law unless the slave was tortured—a practice based on the belief that slaves in a position to be privy to their masters' affairs would be too virtuously loyal to reveal damaging evidence unless coerced. Over time, however, slaves gained increased legal protection, including the right to file complaints against their masters. Attitudes changed in part because of the influence among the educated elite of the Stoics, whose egalitarian views of humanity extended to slaves