<Tr> <Th> Occupation </Th> <Td> Actor </Td> </Tr> <Tr> <Th> Years active </Th> <Td> 2006--present </Td> </Tr> <P> Zachary Adam Gordon (born February 15, 1998) is an American actor . Beginning his professional acting career at the age of eight, Gordon is a three time Young Artist Award Best Leading Young Actor nominee, best known for playing Greg Heffley in the first three films of the Diary of a Wimpy Kid film franchise, which are based on Jeff Kinney's #1 New York Times best seller novel series, Diary of a Wimpy Kid . </P> <P> Gordon was born in Oak Park, California, to Linda and Kenneth Gordon . He has two brothers, Joshua and Kyle, and was raised in Southern California . Zach graduated from a public high school in Oak Park and is Jewish . </P>

Who played greg heffley in diary of wimpy kid