People began rearing animals about 9000 years ago, but they then started to use them to carry goods, turn mill wheels and do other jobs.
This probably happened about 5000 years ago, or possibly earlier. In any case, animal power was very early. These animals needed to be fed, of course, because they needed energy, too.