Question: Who wrote, directed, and starred in the films "Ted" (2012), its sequel "Ted 2", and revived "Family Guy" by writing the first episode of the fourth season after its cancellation in 2002?

full_context: Document 1: Roger (American Dad!): Roger Smith (born Wogir) is a fictional character in the adult animated sitcom "American Dad!", voiced by Seth MacFarlane. The character was created and designed by Seth MacFarlane. Roger is a centuries-old grey space alien living with the Smith family, around whom the show revolves. Having lived on Earth since 1947, Roger came to live with the Smiths after rescuing main character Stan Smith at Area 51 four years prior to the beginning of the series.
Document 2: North by North Quahog: "North by North Quahog" is the first episode of the fourth season of "Family Guy", following the revival of the series three years after its cancellation in 2002. Written by series creator Seth MacFarlane and directed by Peter Shin, "North by North Quahog" originally aired on the Fox network in the United States on May 1, 2005, though it had premiered three days earlier at a special screening at the University of Vermont, Burlington. In the episode, Peter and Lois go on a second honeymoon to spice up their marriage, but are chased by Mel Gibson after Peter steals the sequel to "The Passion of the Christ" from Gibson's private hotel room. Meanwhile, Brian and Stewie take care of Chris and Meg at home.
Document 3: Family Guy (season 7): "Family Guy"'s seventh season first aired on the Fox network in sixteen episodes from September 28, 2008 to May 17, 2009 before being released as two DVD box sets and syndicated. The animated television series follows the dysfunctional Griffin family (father Peter, mother Lois, daughter Meg, son Chris, baby Stewie and their anthropomorphic dog Brian), who reside in the town of Quahog. The show features the voices of series creator Seth MacFarlane, Alex Borstein, Seth Green, and Mila Kunis in the roles of the Griffin family. The executive producers for the seventh season were MacFarlane, Danny Smith, David Goodman and Chris Sheridan. Goodman and Sheridan served as showrunners for season seven.
Document 4: American Dad!: American Dad! is an American adult animated sitcom created by Seth MacFarlane, Mike Barker, and Matt Weitzman for the Fox Broadcasting Company. "American Dad!" is the first television series to have its inception on Animation Domination. The series premiere aired on February 6, 2005, following Super Bowl XXXIX, three months before the rest of the first season aired as part of the Animation Domination block, commencing on May 1, 2005.
Document 5: Ted (film): Ted is a 2012 American buddy comedy film directed by Seth MacFarlane in his feature film directorial debut. The screenplay by MacFarlane, Alec Sulkin, and Wellesley Wild is from MacFarlane's story. The film stars MacFarlane, Mark Wahlberg, Mila Kunis, and with Joel McHale and Giovanni Ribisi in supporting roles, with MacFarlane providing the voice of the title character. The film tells the story of John Bennett, a Boston native whose childhood wish brings his teddy bear friend Ted to life. However, in adulthood, Ted prevents John and his love interest Lori Collins from moving on with their lives.
Document 6: Family Guy (season 3): "Family Guy"'s third season first aired on the Fox network in 22 episodes from July 11, 2001, to November 9, 2003, before being released as a DVD box set and in syndication. It premiered with the episode "The Thin White Line" and finished with "When You Wish Upon a Weinstein". The third season of "Family Guy" continues the adventures of the dysfunctional Griffin family—father Peter, mother Lois, daughter Meg, son Chris, baby Stewie and Brian, the family pet, who reside in their hometown of Quahog.
Document 7: Seth Green: Seth Benjamin Green (born Seth Benjamin Gesshel-Green; February 8, 1974) is an American actor, voice artist, comedian, producer, writer, and director. Green is the creator, executive producer, writer, director and is the most-frequent voice on Adult Swim's "Robot Chicken". He directed many of the "Robot Chicken" specials including "" and "DC Comics Special". His feature films include "Airborne", "The Italian Job", "Party Monster", "Can't Hardly Wait", "Without a Paddle" and the "Austin Powers" series. Green is also known for his role as Chris Griffin on Fox's "Family Guy" and previously as Daniel "Oz" Osbourne in "Buffy the Vampire Slayer", and "Greg the Bunny". He voices Lieutenant Gibbs in "Titan Maximum" and Jeff "Joker" Moreau in the "Mass Effect" video game series. Green has appeared in movies such as "Rat Race", "America's Sweethearts", "Old Dogs", as a child in Woody Allen's "Radio Days", and in the horror films "Idle Hands" and "Stephen King's It".
Document 8: Perfect Castaway: "Perfect Castaway" is the twelfth episode of the fourth season of the American animated television series "Family Guy". It originally aired on Fox in the United States on September 18, 2005. In the episode, Peter, Cleveland, Joe and Quagmire get stranded on an island and are rescued after months but when Peter returns home he realizes that Lois has married Brian. The episode is a reference to the 2000 films "The Perfect Storm" and "Cast Away".
Document 9: Peter's Got Woods: "Peter's Got Woods" is the eleventh episode and the mid-season premiere of the fourth season of the American animated television series "Family Guy". It originally aired on Fox in the United States on September 11, 2005. In the episode, Brian offers to help an African-American woman change the name of James Woods Regional High School to Martin Luther King Jr., but his friendship with Peter becomes strained when Peter — who objects to the idea — recruits actor James Woods to sabotage the idea. James Woods would later return for revenge in the season 6 episode "Back to the Woods", and again for "Brian Griffin's House of Payne" and would eventually be killed off in the season 9 premiere episode "And Then There Were Fewer", but is later revealed to have survived his death in the season 10 episode "".
Document 10: Family Guy (season 5): "Family Guy"'s fifth season first aired on the Fox network in eighteen episodes from September 10, 2006 to May 20, 2007 before being released as two DVD box sets and in syndication. It premiered with the episode "Stewie Loves Lois" and finished with "Meet the Quagmires". The series follows the dysfunctional Griffin family—father Peter, mother Lois, daughter Meg, son Chris, baby Stewie and Brian, the family pet, who reside in their hometown of Quahog. The executive producers for the fifth season were David Goodman, Chris Sheridan, Danny Smith and series creator Seth MacFarlane. Sheridan and Goodman served as showrunners for the fifth season.
Document 11: Family Guy (season 2): The second season of the animated comedy series "Family Guy" aired on Fox from September 23, 1999 to August 1, 2000, and consisted of 21 episodes. The series follows the dysfunctional Griffin family—father Peter, mother Lois, daughter Meg, son Chris, baby Stewie and their anthropomorphic dog Brian, all of whom reside in their hometown of Quahog. The show features the voices of series creator Seth MacFarlane, Alex Borstein, Seth Green, Lacey Chabert and later Mila Kunis in the roles of the Griffin family. The executive producers for the second production season were David Zuckerman and MacFarlane; the aired season also contained eight episodes which were holdovers from season one.
Document 12: Seth MacFarlane filmography: Seth MacFarlane is an American actor, animator, writer, producer, director, comedian, and singer. MacFarlane began his career has an animator and writer for Hanna-Barbera for several television series, including "Johnny Bravo", "Cow and Chicken", "Dexter's Laboratory", "I Am Weasel", and created a sequel to his college thesis film "Larry & Steve".
Document 13: Seth MacFarlane: Seth Woodbury MacFarlane (born October 26, 1973) is an American actor, filmmaker, comedian, and singer, working primarily in animation and comedy, as well as live-action and other genres. MacFarlane is the creator of the TV series "Family Guy" (1999–2003, 2005–present) and "The Orville" (2017–present), and co-creator of the TV series "American Dad!" (2005–present) and "The Cleveland Show" (2009–2013). He also wrote, directed, and starred in the films "Ted" (2012), its sequel "Ted 2" (2015), and "A Million Ways to Die in the West" (2014).
Document 14: Family Guy: Family Guy is an American animated sitcom created by Seth MacFarlane for the Fox Broadcasting Company. The series centers on the Griffins, a family consisting of parents Peter and Lois; their children, Meg, Chris, and Stewie; and their anthropomorphic pet dog, Brian. The show is set in the fictional city of Quahog, Rhode Island, and exhibits much of its humor in the form of cutaway gags that often lampoon American culture.
Document 15: Ted 2: Ted 2 is a 2015 American comedy film directed by Seth MacFarlane and is a sequel to the 2012 film "Ted". The film's screenplay was written by MacFarlane, Alec Sulkin, and Wellesley Wild. The film stars Mark Wahlberg and MacFarlane, and follows Ted as he fights for civil rights in order to be recognized as a person to have kids. "Ted 2" was released on June 26, 2015, by Universal Pictures. The film grossed over $216 million and received mixed reviews.
ground_truth: Seth Woodbury MacFarlane