Question: william J. Monahan's second produced screenplay was a remake of what film?

Context paragraphs:
Chemurgy: Chemurgy is a branch of applied chemistry that is concerned with preparing industrial products from agricultural raw materials.  The word "chemurgy" was coined by chemist William J. Hale and first publicized in his 1934 book "The Farm Chemurgic", the concept was mildly well-developed by the early years of the 20th century.  For example, a number of products, including brushes and motion picture film, were made from cellulose.  Beginning in the 1920s, some prominent Americans began to advocate a more widespread link between farmers and industry.  Among them were William J. Hale and agricultural journalist Wheeler McMillen.

Blind Love (2006 film): Blind Love is a 2006 independent low-budget film directed by Janghun Troy Choi.  The film won the Orson Welles Award at the 2007 Tiburon International Film Festival, the Best Feature Film at the 2006 Ellensburg International Film Festival, and the Best Feature Film at the 2006 Cinewest International Film Festival.  "Blind Love" was also nominated for the Best Produced Screenplay at the 2006 AOF International Film Festival and was Janghun Troy Choi's directorial debut in the United States.

William J. Devine Memorial Golf Course: William J. Devine Memorial Golf Course, colloquially referred to and contained within Franklin Park, is a municipal golf course in the Jamaica Plain neighborhood of Boston, Massachusetts, bordered by the neighborhoods of Dorchester and Roxbury.  Established on October 26, 1896, it is the second oldest public golf course in the United States.  The course is named after William J. Devine, former Commissioner of Boston's Parks and Recreation Department.

What's New Pussycat?: What's New Pussycat?  is a 1965 American comedy film directed by Clive Donner, written by Woody Allen in his first produced screenplay, and stars Peter Sellers, Peter O'Toole, Romy Schneider, Capucine, Paula Prentiss, Allen and Ursula Andress.

William Monahan: William J. Monahan (born November 3, 1960) is an American screenwriter and novelist.  His second produced screenplay was "The Departed", a film that earned him a Writers Guild of America Award and Academy Award for Best Adapted Screenplay.

Light House: A Trifle: Light House: A Trifle, a 2000 satirical novel by American screenwriter William Monahan.  Originally serialized in the Amherst literary magazine "Old Crow Review" from 1993 to 1995, Monahan sold "Light House" to Riverhead Books, a Penguin Group imprint, in 1998.  Warner Bros. optioned the film rights while the novel was in manuscript and hired Monahan to write the screenplay adaptation.  The novel was delayed for two years, with plans to release it alongside the upcoming film; however, the film was never produced.

The Gambler (2014 film): The Gambler is a 2014 American crime drama film directed by Rupert Wyatt.  The screenplay by William Monahan is based on the 1974 film "The Gambler", written by James Toback.  The remake, starring Mark Wahlberg as the title character, premiered on November 10, 2014 at the AFI Fest, and was theatrically released in the United States on December 25, 2014.  It features George Kennedy's final film role before his death in 2016.

The Departed: The Departed is a 2006 American crime drama film directed by Martin Scorsese and written by William Monahan.  It is a remake of the 2002 Hong Kong film "Infernal Affairs".  The film stars Leonardo DiCaprio, Matt Damon, Jack Nicholson, and Mark Wahlberg, with Martin Sheen, Ray Winstone, Vera Farmiga, Anthony Anderson and Alec Baldwin in supporting roles.

Judge William J. Robertson House: Judge William J. Robertson House is a historic home located at Charlottesville, Virginia.  It was built in 1859, and is a two-story, roughly rectangular, brick dwelling with elements of the Italianate and Gothic Revival styles.  It has rendered walls scored to simulate ashlar masonry, a hip-and-gable roof with broadly overhanging gable eaves supported by large decoratively carved brackets, and one-story wings and porches.  It was built by Justice William J. Robertson (1817-1898), who was the "acknowledged leader of the Virginia bar" during the second half of the 19th century.

David Simkins: David Simkins is an American screenwriter and television producer.  His first produced screenplay was for the film "Adventures in Babysitting" in 1987.  He has been an active writer and producer for television since his involvement with "The Adventures of Brisco County, Jr." in 1993-1994.  He has written scripts for and produced the television shows "Charmed", "", "Dark Angel", "Warehouse 13", "The Dresden Files", and "Human Target".

Supporting paragraphs: William Monahan The Departed
Answer: "Infernal Affairs"