The vast majority of episodes were directed by Pamela Fryman, who directed 196 episodes out of 208. The series was loosely inspired by Thomas and Bays' friendship when they both lived in New York. How I Met Your Mother is a joint production by Bays & Thomas Productions and 20th Television and syndicated by 20th Television (now Disney-ABC Domestic Television). As a framing device, Ted, in the year 2030, recounts to his son, Luke, and daughter, Penny, the events from September 2005 to May 2013 that led him to meet their mother. The series, which aired from 2005 to 2014, follows the main character, Ted Mosby, and his group of friends in New York City's Manhattan.
How I Met Your Mother (often abbreviated as HIMYM) is an American sitcom, created by Craig Thomas and Carter Bays for CBS.