Though Megalosaurus may have been the first dinosaur to get a name, Micropachycephalosaurus holds the record for the longest one. The fossils of this dinosaur are usually found in China and its name simply means “small thick-headed lizard.” Bit mean.