Original: They first appeared in the middle Triassic Period and became especially common during the Jurassic Period, thriving until the K-T extinction at the end of the Cretaceous Period.
Simplified: They were around from the start of the Jurassic period, and lasted until the end of the Cretaceous.