<Tr> <Th> Spouse (s) </Th> <Td> Loretta M. Lepkowski </Td> </Tr> <Tr> <Th> Children </Th> <Td> </Td> </Tr> <P> Peter Gardner Ostrum (/ ˈoʊstrəm /; born November 1, 1957) is an American veterinarian and former child actor whose only film role was as Charlie Bucket in the 1971 motion picture Willy Wonka & the Chocolate Factory . </P> <P> Ostrum was 12 years old when selected by talent agents for Willy Wonka . Though he enjoyed the experience of shooting the film, he opted not to sign a three - film contract when it was over . After eschewing a career in film and theatre, Ostrum became reluctant to speak about his one starring role . In 1990, he began an annual tradition of speaking to schoolchildren about the film, and he became a subject of interest again when the 2005 film Charlie and the Chocolate Factory was released to theaters . </P>

Who played the little boy in willy wonka and the chocolate factory