Ornithopod
They reached their apex of diversity and ecological dominance in the hadrosaurids, before they were wiped out by the Cretaceous–Paleogene extinction event along with all other non-avian dinosaurs.