Newly discovered dinosaur helps explain rise of tyrannosaurs