Omnivorosaurus

Omnivorosaurus was a species of Stegosaurid that lived in China during the Early Cretaceous around 130-110 million years ago. It was the last ever Stegosaur, even surpassing the Wuerhosaurus's timeline by 10-20, with most other Stegosaurs driven to extinction by newly evolving Ankylosaurs and relatives. Unlike any other Stegosaurids, Omnivorosaurus was an omnivore that feeds on not only leaves and/or fruits, but also insects, fish, frogs, lizards, live small dinosaurs (rarely), primitive birds (extremly rarely), eggs, small mammals, and carrion, hence their name, as an effect of Ankylosaurs taking over, so Omnivorosaurus had to adapt to come with the Ankylosaur takeover by turning from herbivores to omnivores. Sadly, despite their omnivory diets, this wasn't enough to help them survive for much longer due to newly evolving larger and deadlier predators such as large Dromaeosaurs and Tyrannosaurs, which spelled the doom of the last Stegosaurs on Earth, since Tyrannosaurs and Dromaeosaurs killed off Omnivorosaurus to extinction.