Which came first, human slavery or animal slavery?

Hello Today I read (and the book wasn't about veganism or anything like that) that animal slavery followed human slavery. That is, humans first "abused" captive humans, for example, for labor, and only then animals. On the one hand, this conclusion really surprised me. On the other hand, back when people were still nomads, weren't…