Jason Jordan Segel is an American television and film actor, screenwriter, comedian, composer, puppeteer, musician, and singer who is well known for his role as Marshall Eriksen on the CBS sitcom How I Met Your Mother from 2005 to 2014 and as Nick Andopolis in the short-lived NBC television series, Freaks and Geeks from 1999 to 2000. He also voiced Vector Perkins in Universal/Illumination's Despicable Me.