From Wikipedia:
How I Met Your Mother (often abbreviated to HIMYM) is an American sitcom that originally aired on CBS from September 19, 2005, to March 31, 2014. The series follows 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. The series was loosely inspired by their friendship when they both lived in New York City. Among the 208 episodes, there were only four directors: Pamela Fryman (196 episodes), Rob Greenberg (7 episodes), Michael Shea (4 episodes), and Neil Patrick Harris (1 episode).
Known for its unique structure and eccentric humor, How I Met Your Mother has gained a cult following over the years. The show initially received positive reviews, while the later seasons received more mixed reviews. The show was nominated for 28 Emmy Awards, winning nine. In 2010, Alyson Hannigan won the People's Choice Award for Favorite TV Comedy Actress. In 2012, seven years after its premiere, the series won the People's Choice Award for Favorite Network TV Comedy, and Neil Patrick Harris won the award for Favorite TV Comedy Actor.
The ninth and final season began airing on September 23, 2013, and concluded on March 31, 2014, with a double-length finale episode, which received polarized reviews from critics and fans alike for its controversial twist ending, as many believed it contradicted many of the previous episodes.