A large phylogenetic analysis of early dinosaurs by Matthew Baron, David B. Norman and Paul Barrett (2017) found that Theropoda is actually more closely related to Ornithischia, to which it formed the sister group within the clade Ornithoscelida. The study also suggested that if the feather-like structures of theropods and ornithischians are of common evolutionary origin then it would be possible that feathers were restricted to Ornithoscelida. If so, then the origin of feathers would have likely occurred as early as the Middle Triassic.