That’s a great question. Tyrannosaurus rex was one of the fiercest predators of all time, and it lived about 66–68 million years ago during the Cretaceous Period in the western United States. It shared its habitat with many other dinosaurs, some of which were its prey and some of which were its competitors.

Some of the dinosaurs that lived at the same time and in the same places as T. rex were:

- **Triceratops** – A three-horned herbivore with a frill around its head. It was one of the most common and popular dinosaurs, and one of T. rex’s favorite meals.
- **Edmontosaurus** – A large duck-billed herbivore that lived in herds. It was another common prey item for T. rex.
- **Pachycephalosaurus** – A dome-headed herbivore that may have used its thick skull for head-butting rivals or predators.
- **Ankylosaurus** – A heavily armored herbivore with a club-like tail. It was one of the most formidable defenders against predators like T. rex.
- **Denversaurus** – A smaller and less armored relative of Ankylosaurus, with a weaker tail.
- **Alamosaurus** – A gigantic sauropod (long-necked herbivore) that was one of the few dinosaurs that could rival T. rex in size and power.
- **Siats meekerorum** – A carnivore that was part of the carcharodontosaur group, which included some of the largest predatory dinosaurs ever. It may have competed with T. rex for food and territory.

These are just some examples of the diverse and fascinating dinosaurs that coexisted with T. rex in the Late Cretaceous.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence