Chungkingosaurus
At first, all of the stegosaurs came from the Lower Cretaceous, but this one is earlier. It seems obvious that the plates were used as defence, but temperature regulation and mate attraction have been proposed.