The Triceratops was one of the last large dinosaurs. It was certainly a herbivore, but it had up to 800 teeth, which grew back continuously. However, it was not able to chew its food, because it could not move its jaw laterally. It used its teeth to cut up palm leaves and ferns.
Fun fact: The Triceratops lived at the same time as the Tyrannosaurus, Carnotaurus, and Velociraptor.