trataram como

treated like

→ tratar
phrase Uncommon #11,145
treated like Past tense plural form of tratar com meaning here is used as 'to treat someone/something as'.
PO: Eles me trataram como um amigo.
EN: They treated me like a friend.