Jason Jordan Segel is an American actor, comedian, screenwriter, singer-songwriter, author, and producer. He is best known for his role as Marshall Eriksen in the CBS sitcom How I Met Your Mother, as well as for his work with director and producer Judd Apatow on the television series Freaks and Geeks and Undeclared, and for the critically and commercially successful comedies in which he has starred, written, and produced. Segel has starred in several films, including Knocked Up (2007), Forgetting Sarah Marshall (2008), I Love You, Man (2009), Despicable Me (2010), Bad Teacher (2011), Jeff, Who Lives at Home (2011), The Muppets (2011), The Five-Year Engagement (2012), This Is 40 (2012), Sex Tape (2014), The Discovery (2017), and Our Friend (2019). His performance as the late author David Foster Wallace in the 2015 film The End of the Tour was met with critical acclaim, earning him a nomination for the Independent Spirit Award for Best Male Lead. In 2012, Segel was named the Hasty Pudding Man of the Year.