Last week, a painting by Leonardo da Vinci shattered auction records. On Tuesday, that distinction belonged to a robot named Robby.

The seven-foot-tall robot, which appeared in the 1956 film “Forbidden Planet,” sold for $5.375 million with fees at Bonhams New York as part of a TCM auction. It broke the record for price of a movie prop sold at auction, previously held by the original 1966 Batmobile, which sold for $4.6 million in 2013. (Marilyn Monroe’s white dress from “The Seven-Year Itch,” a costume, still edges out both, having sold for $5.6 million in 2011.)

Robby, described as fully functional, was built for approximately $100,000 for “Forbidden Planet,” a space epic that starred Walter Pidgeon, Anne Francis and Leslie Nielsen. “He is the prettiest piece of mechanism on Planet Altaire,” Bosley Crowther wrote in his review of the film for The New York Times. Robby went on to have a lengthy career, appearing in “The Twilight Zone,” “The Addams Family” and other programs. Experts estimated that the robot would sell in the low- to mid- seven figures.

Robby was sold along with his Jeep, auxiliary control panel and original MGM packing crates.