They hunted the same large herbivores and had a similar niche in the food chain.
(They; hunted; the same large herbivores) (They; had; a similar niche in the food chain)
They They
hunted had
the same large herbivores
a similar niche in the food chain