Question: David Wallace is named after David Foster Wallace, a favorite author of an American actor and filmmaker who is known for his role as Jim Halpert on what sitcom?

<P0-S0> Andrew Baines Bernard (born in 1973; Walter Bernard, Jr.) is a fictional character from the U.S. comedy television series, "The Office". <P0-S1>  Andy is portrayed by Ed Helms. <P0-S2>  He has no counterpart in the original British version of the series. <P0-S3>  He is introduced as the Regional Director in Charge of Sales at the Stamford branch of paper distribution company Dunder Mifflin in the third-season premiere when Jim Halpert transfers, ultimately merging with the Scranton branch in the episode "The Merger" later in the season. <P0-S4>  He becomes Regional Manager at the Scranton branch courtesy of Robert California in the eighth-season premiere following the departure of Michael Scott and Deangelo Vickers, although temporarily is fired and replaced by Nellie Bertram before his reinstatement by new CEO David Wallace. <P0-S5>  Although throughout the ninth season, Andy's relationship with Wallace deteriorates from Andy's lack of focus and professionalism, eventually culminating in Andy's voluntary resignation, to his reinstatement as a salesman to his eventual firing again, after Andy begs David Wallace to fire him in order to pursue a singing career. <P0-S6>  This all happens over the course of one day in "Livin' the Dream". <SEP> <P1-S0> The Pale King is an unfinished novel by David Foster Wallace, published posthumously on April 15, 2011. <P1-S1>  It was planned as Wallace's third novel, and the first since "Infinite Jest" in 1996, but it was not completed at the time of his death. <P1-S2>  Before his suicide in 2008, Wallace organized the manuscript and associated computer files in a place where they would be found by his widow, Karen Green, and his agent, Bonnie Nadell. <P1-S3>  That material was compiled by his friend and editor Michael Pietsch into the form that was eventually published. <P1-S4>  Wallace had been working on the novel for over a decade. <P1-S5>  Even incomplete, "The Pale King" is a long work, with 50 chapters of varying length totaling over 500 pages. <SEP> <P2-S0>  He is widely known for his role as Jim Halpert on the NBC sitcom "The Office" (2005–2013), for which he received critical acclaim and won numerous awards. <P2-S1>  He also served as a producer and occasional director of the show. <P2-S2> John Burke Krasinski ( ; born October 20, 1979) is an American actor and filmmaker. <SEP> <P3-S0> David Wallace is a recurring fictional character in the American comedy series "The Office", portrayed by Andy Buckley. <P3-S1>  Wallace is introduced in the second season as the new chief financial officer of Dunder Mifflin. <P3-S2>  Wallace is named after the late David Foster Wallace, a favorite author of John Krasinski. <P3-S3>  His character is established as a wealthy executive at the corporate headquarters in New York with an opulent home and wife, Rachel, and son. <P3-S4>  Despite his differing lifestyle from the members of the Scranton branch, David tolerates and understands the eccentricities and flaws of Regional Manager Michael Scott, and appreciates employees Jim Halpert and Toby Flenderson. <P3-S5>  He is let go in the sixth season following the absorption of Dunder Mifflin by Sabre. <P3-S6>  He later sells his patent for "Suck it" to the US military and later acquires Dunder Mifflin for an undisclosed sum of money and becomes CEO in the eighth season finale, "Free Family Portrait Studio".