Stegosauria is a group of herbivorous ornithischian dinosaurs that lived during the Jurassic and early Cretaceous periods. Stegosaurian fossils have been found mostly in the Northern Hemisphere, predominantly in what is now North America, Europe, Africa, South America and Asia. Their geographical origins are unclear; the earliest unequivocal stegosaurian, Bashanosaurus primitivus, was found in the Bathonian Shaximiao Formation of China.