Scientists dubbed the new species Proctoporus optimus, named after the leading alien robot character Optimus Prime from the "Transformers" film franchise.
The name is a nod to the "Transformer" movies, which were party filmed in Machu Picchu, the conservation authority said.
Another new species was also uncovered in the Cuzco region of Peru, where it was found in the protected Machiguenga Communal Reserve.
Researchers gave this new species the name of Proctoporus katerynae, in honor of biologist Kateryn Pino Bolanos who has done extensive research in the Peruvian Andes.
The new species were confirmed with the help of genetic sequencing. Researchers at Peru's Museum of Biodiversity, the University of Texas, and the Museum of Natural History at the National University of Saint Anthony the Abbot in Cuzco.
What we know about the lizards?
The two lizards have shiny, dark scales — one of which has a red-tinted underbelly.
They belong to a type of medium-sized lizard that ranges in length between 2.7 centimeters to 7.8 centimeters (1.1 inches to 3.1 inches) depending on the species.
According to Peru's Conservation Authority, the rising temperature in the lowlands of the mountains is forcing the species to migrate higher up into the mountains in search of the optimal temperature.
This causes the lizard's distribution area to grow—an effect referred to as the "escalator to extinction," because as they are forced to move higher and higher up the mountain to find cooler temperatures, they will eventually have no where else to go.