Stegosauria was originally named as an order within Reptilia by O.C. Marsh in 1877 , although today it is generally treated as an infraorder or suborder ( or simply a clade ) within Thyreophora , the armored dinosaurs .
Now it is treated as an infraorder or suborder ( or simply a clade ) within Thyreophora , the armored dinosaurs .