was treated
彼は不公平に扱われたのに不平を言った。
He complained despite being treated unfairly.
彼は外国人だったので、そのように扱われた。
Because he was a foreigner, he was treated that way.