How long did dinosaurs rule earth?

Dinosaurs were the dominant terrestrial species on earth for about 135.3 million years.