Zachary Adam "Zach" Gordon (born February 15, 1998) is an American actor who played the lead role in the Diary of a Wimpy Kid movies. He also voiced in Madagascar:Escape 2 Africa. He also appeared in National Treasure 2:Book of Secrets as a young boy harassing Ben Gates at an Easter Egg hunt. Zachary Gordon was born on February 15, 1998 in Oak Park, California, America, North America and later became an actor in television and film. He did a few commercials as well before being offered Diary of a Wimpy Kid at age 12. Gladly accepting the role, he teamed up with Robert Capron for the movie, who stepped into the part of Rowley.