Ancient crocodile cousins evolved vegetarianism at least three times

During the dinosaur era, many crocodile-like reptiles ate plants rather than guzzling meat – suggesting it was once a common lifestyle for crocodiles

source: newscientist.com