An apex predator sits on the top trophic level of the food chain, while a mesopredator sits further down the food chain and is dependent on smaller animals. Towards the end of the Pleistocene era, most of today's apex predators were mesopredators and this included the wolf. During the ecological upheaval associated with the close of the Late Pleistocene, one type of wolf population rose to become today's apex predator and another joined with humans to become an apex consumer. The domestication of this lineage ensured its evolutionary success through its expansion into a new ecological niche.