Question: The Sting was an episode of The Office written by the American actress who created what other sitcom?

Context articles: Miranda Cosgrove
Beware My Cheating Bart
Reina King
The Sting (The Office)
Last of the Summer Wine
Roseanne Barr
Anna Easteden
Courteney Cox
Ta-Ronce Allen
Mindy Kaling

Miranda Taylor Cosgrove (born May 14, 1993) is an American actress, singer and songwriter.
 Her career began at the age of 3 with several television commercial appearances.
 Cosgrove's film debut came in 2003, when she appeared as Summer Hathaway in "School of Rock".
 She appeared in a number of minor television roles over several years before coming to prominence as Megan Parker on the Nickelodeon television series "Drake & Josh".
 In 2007, she landed the role of Carly Shay, the lead character on the Nickelodeon teen sitcom "iCarly", on which she starred until 2012.
 As of May 2010, Cosgrove earned $180,000 per episode of "iCarly", making her the second-highest-paid child star on television, and in 2012 was listed in the "Guinness World Records" as the highest paid child actress.
 Cosgrove also voiced Margo in the animated film "Despicable Me" (2010) and its sequels.
 In 2016, she starred as Shea Moore on the short-lived NBC sitcom "Crowded".
"Beware My Cheating Bart" is the eighteenth episode of the twenty-third season of the American animated sitcom "The Simpsons".
 It originally aired on the Fox network in the United States on April 15, 2012.
 It makes reference to the song "Be Still My Beating Heart" by Sting.
Reina King (born April 11, 1975) is an American film and television actress.
 She began her acting career with the role of Carolyn (1985–1986), the adopted child of Roger and Nadine on the TV sitcom "What's Happening Now!!
"—a sequel to the popular 1970s TV sitcom "What's Happening!!
".
 In 1987, she played Tiffany James in the movie "Maid to Order" and in 1988, she played actress Alfre Woodard's oldest daughter, Lanell Cooley, in the movie "Scrooged".
 Reina also appeared in one episode (The Sing-Off, as Girl #2) of the sitcom "227" in 1988; the same sitcom her sister Regina King starred in as Brenda Jenkins.
 In 1990, she played Rhonda in the film "To Sleep with Anger" with Mary Alice.
 And in 1998, Reina was in the short film "A Hollow Place" as the mother of Corliss Young.
"The Sting" is the fifth episode of the seventh season of the American comedy television series "The Office" and the shows 131st episode overall.
 It originally aired on NBC on October 21, 2010.
 The episode was written by co-executive producer Mindy Kaling and directed by Randall Einhorn.
 "The Sting" guest stars Timothy Olyphant as Danny Cordray.
Last of the Summer Wine is a British sitcom created and written by Roy Clarke that was originally broadcast on the BBC.
 It premiered as an episode of "Comedy Playhouse" on 4 January 1973, and the first series of episodes followed on 12 November 1973.
 From 1983 to 2010, Alan J. W. Bell produced and directed all episodes of the show.
 The BBC confirmed on 2 June 2010 that "Last of the Summer Wine" would no longer be produced and the 31st series would be its last.
 Subsequently, the final episode was broadcast on 29 August 2010.
 Tom Owen criticised the BBC for not permitting a special final episode.
 Roy Clarke, however, stated that he was fully aware this was the last series, and preferred the show to have a quiet ending.
 The final line was said by Peter Sallis, the longest serving actor.
 Since its original release, all 295 episodes comprising, thirty-one series—including the pilot and all Specials—have been released on DVD.
 Repeats of the show are broadcast in the UK on Gold, Yesterday, and Drama.
 It is also seen in more than twenty-five countries, including various PBS stations in the United States and on VisionTV in Canada.
 "Last of the Summer Wine" is the longest-running comedy programme in Britain and the longest-running sitcom in the world.
Roseanne Cherrie Barr (born November 3, 1952) is an American actress, comedian, writer, and television producer.
 She was also the 2012 presidential nominee of the California-based Peace and Freedom Party.
 Barr began her career in stand-up comedy at clubs before gaining fame for her role in the hit television sitcom "Roseanne".
 The show ran for nine seasons, from 1988 to 1997.
 She won both an Emmy and a Golden Globe Award for Best Actress for her work on the show.
 It was announced in 2017 that an eight episode revival of the show will air in 2018.
 Barr had crafted a "fierce working-class domestic goddess" persona in the eight years preceding her sitcom and wanted to do a realistic show about a strong mother who was not a victim of patriarchal consumerism.
Anna Easteden (born 29 November 1976) is a Finnish American actress whose film appearances include "The House of Branching Love" (2009) and "Sideways" (2009).
 She is known for her performance as "Bee Sting" in "Who Wants to Be a Superhero?
" season 2 (2007) on Sci Fi Channel.
 She co-starred in soap operas: "Passions" and "Days of Our Lives" on NBC, the television series "Bones" on Fox and "Two and a Half Men" on CBS.
Courteney Bass Cox (born June 15, 1964) is an American actress, producer, and director.
 She is best known for her roles as Monica Geller on the NBC sitcom "Friends", Gale Weathers in the horror series "Scream", and Jules Cobb in the ABC/TBS sitcom "Cougar Town", for which she earned her first Golden Globe nomination.
 Cox also starred in the FX series "Dirt".
 She owns a production company, called Coquette Productions, which was created by Cox and her then-husband David Arquette.
 Cox also worked as a director on her sitcom "Cougar Town" and the television film "Talhotblond".
Ta-Ronce Allen (born February 2, 1960) is an American actress.
 She is best known for her appearances as a teen actress on television in the 1970s.
 She had a role as Michael Evans's girlfriend "Yvonne" in two episodes of the CBS sitcom "Good Times" in 1976 and 1977.
 Allen was born in Los Angeles and currently lives in Lancaster, California.
 She is also the daughter of actor Raymond Allen, who starred as Uncle Woodrow Anderson on the NBC sitcom "Sanford and Son" and Ned "The Wino" on the CBS sitcom "Good Times" in the 1970s.
 Allen had a role in the 1972 neo-noir film "Hickey & Boggs" with actors Bill Cosby and Robert Culp.
 She also appeared in the first episode of the second season of "Kung Fu" entitled "The Well.
Vera Mindy Chokalingam (born June 24, 1979), known professionally as Mindy Kaling, is an American actress, comedian and writer.
 She is the creator and star of the television sitcom "The Mindy Project", which premiered on Fox and later moved to Hulu; Kaling also serves as a writer and executive producer on the series.
 Kaling is also known for her work on the popular NBC sitcom "The Office", where she portrayed the character Kelly Kapoor.
 In addition to acting on the show, she was a writer, executive producer, and occasional director for the show throughout most of its run.
 For her work on "The Office", Kaling received various accolades, including a Primetime Emmy Award nomination for Outstanding Writing in a Comedy Series, in 2010.