title: List of How I Met Your Mother characters
context: The American sitcom How I Met Your Mother premiered on CBS on September 19, 2005. Created by Craig Thomas and Carter Bays, the show is presented from the perspective of Ted Mosby in 2030 ("Future Ted") as he tells his children how he met the titular mother. The show lasted for nine seasons and 208 episodes; the finale first aired on March 31, 2014.
question: Who was the main character in How I Met Your Mother?
answers: Ted Mosby