How I Met Your Mother is an American sitcom that originally aired on CBS from September 19, 2005 to March 31, 2014. The series cast the main character, Ted Mosby, and his group of friends in Manhattan. As a framing device, Ted, in the year 2030, recounts to his son and daughter the events that led him to meeting their mother. The series was created by Craig Thomas and Carter Bays, who also served as the show's executive producers and were frequent writers.