Question: What year did Mark Wahlburg star in the American crime drama film directed by Martin Scorsese and written by William Monahan, a remake of the 2002 Hong Kong film "Infernal Affairs"?

full_context: Document 1: Matt Damon filmography: Matt Damon is an American actor, producer and screenwriter. He made his screen debut at the age of 18 with a minor role in the 1988 film "Mystic Pizza". After appearing in a series of supporting parts in much of the 1990s, Francis Ford Coppola cast Damon as the lead of the 1997 legal drama "The Rainmaker". His breakthrough came later that year when he played the title role of an unrecognized genius in "Good Will Hunting", a drama which he also co-wrote with Ben Affleck. Damon and Affleck won the Academy Award for Best Original Screenplay and Damon was nominated for Best Actor. He followed it by playing the title roles of a soldier in Steven Spielberg's war drama "Saving Private Ryan" (1998) and of the criminal Tom Ripley in the thriller "The Talented Mr. Ripley" (1999), both of which gained critical and commercial success. Damon's profile continued to expand in the 2000s, as he took on starring roles in two lucrative film franchises. He featured as a con man in Steven Soderbergh's "Ocean's Trilogy" (2001–07) and played the titular spy Jason Bourne in four of the five films in the "Bourne" series (2002–16).
Document 2: Donnie Wahlberg: Donald Edmond Wahlberg Jr. (born August 17, 1969) is an American singer, songwriter, actor, record producer, and film producer. He is a founding member of the boy band New Kids on the Block. Outside of music, he has had roles in the "Saw" films, "The Sixth Sense", "Dreamcatcher", and "Righteous Kill", also appearing in the World War II miniseries "Band of Brothers" as First Lieutenant Carwood Lipton. From 2002 to 2003, he starred in the crime drama "Boomtown". He has been starring in the drama series "Blue Bloods" as Danny Reagan with Tom Selleck (his TV father) and Bridget Moynahan (his TV sister) since 2010, and since 2014 is an executive producer of the TNT reality television show "Boston's Finest". He was nominated for "Choice Scream" at the 2008 Teen Choice Awards for his work in the "Saw" films. He has also produced and starred in "Rock this Boat", "Donnie Loves Jenny" and "Return of the Mac" on Pop TV. He also produces and stars in "Wahlburgers" on A&E TV.
Document 3: Mark Ruffalo: Mark Alan Ruffalo ( , born November 22, 1967) is an American actor, filmmaker, and social activist. He made his screen debut in an episode of "CBS Summer Playhouse" (1989), followed by minor film roles. He was part of the original cast of "This Is Our Youth" (1996), for which he was nominated for an Independent Spirit Award. Following were his roles in "13 Going on 30" (2004), "Eternal Sunshine of the Spotless Mind" (2004)", Zodiac" (2007), and "What Doesn't Kill You" (2008). In 2010, he starred in the psychological thriller "Shutter Island" and the comedy-drama "The Kids Are All Right". For the latter, he received nominations for the SAG Award, BAFTA Award, and an Academy Award for Best Supporting Actor. He also co-starred in the mystery films "Now You See Me" and "Now You See Me 2" as FBI Special Agent Dylan Rhodes.
Document 4: Mark Wahlberg filmography: American actor and producer Mark Wahlberg began his acting career in 1993. Some of his most critically successful films include "Boogie Nights" (1997), "The Departed" (2006), "The Fighter" (2010), "Ted" (2012) and "Lone Survivor" (2013).
Document 5: Gone Baby Gone: Gone Baby Gone is a 2007 American neo-noir mystery drama film directed by Ben Affleck. In his feature-length directorial debut, Affleck cowrote the screenplay with Aaron Stockard based on the novel "Gone, Baby, Gone" by Dennis Lehane. The film stars Casey Affleck and Michelle Monaghan as two private investigators hunting for a little girl who was abducted from the Boston neighborhood of Dorchester. The supporting cast includes Morgan Freeman, Ed Harris and Amy Ryan.
Document 6: Infernal Affairs (film series): Infernal Affairs is a series of three crime-thriller films directed by Andrew Lau and Alan Mak, starring Andy Lau and Tony Leung. It tells the story of a police officer who infiltrates the triads, and a police officer secretly working for the same gang. The Chinese title means "the non-stop way", a reference to Avici, the lowest level of hell in Buddhism. The English title is a word play combining the law enforcement term "internal affairs" with the adjective 'infernal'.
Document 7: 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.
Document 8: Shutter Island (film): Shutter Island is a 2010 American neo-noir psychological thriller film directed by Martin Scorsese and written by Laeta Kalogridis, based on Dennis Lehane's 2003 novel of the same name. Leonardo DiCaprio stars as U.S. Marshal Edward "Teddy" Daniels who is investigating a psychiatric facility on Shutter Island after one of the patients goes missing. Mark Ruffalo plays his partner officer, Ben Kingsley is the facility's lead psychiatrist, and Michelle Williams is Daniels' wife. The film received generally favorable reviews from critics and grossed over $294 million at the box office.
Document 9: John Malkovich: John Gavin Malkovich (born December 9, 1953) is an American actor, director, and producer. He has appeared in more than 70 films. For his roles in "Places in the Heart" and "In the Line of Fire", he received Academy Award nominations. He has also appeared in films such as "Empire of the Sun", "The Killing Fields", "Con Air", "Of Mice and Men", "Rounders", "Ripley's Game", "Knockaround Guys", "Being John Malkovich", "Shadow of the Vampire", "Burn After Reading", "RED", "Mulholland Falls", "Dangerous Liaisons", and "Warm Bodies", as well as producing films such as "Ghost World", "Juno", and "The Perks of Being a Wallflower".
Document 10: Inception: Inception is a 2010 science fiction film written, co-produced, and directed by Christopher Nolan, and co-produced by Emma Thomas. The film stars Leonardo DiCaprio as a professional thief who steals information by infiltrating the subconscious, and is offered a chance to have his criminal history erased as payment for a seemingly impossible task: "inception", the implantation of another person's idea into a target's subconscious. The ensemble cast additionally includes Ken Watanabe, Joseph Gordon-Levitt, Marion Cotillard, Ellen Page, Tom Hardy, Dileep Rao, Cillian Murphy, Tom Berenger, and Michael Caine.
Document 11: Mark Wahlberg: Mark Robert Michael Wahlberg (born June 5, 1971) is an American actor, producer, businessman, former model, and former rapper. Wahlberg was known as Marky Mark in his early career as frontman for the group Marky Mark and the Funky Bunch, releasing the albums "Music for the People" and "You Gotta Believe". Wahlberg later transitioned to acting, appearing in films such as the drama "Boogie Nights" and the satirical war comedy-drama "Three Kings" during the 1990s. In the 2000s, he starred in the biographical disaster drama "The Perfect Storm", the science fiction film "Planet of the Apes", the heist film "The Italian Job", and the Martin Scorsese-directed neo-noir crime drama "The Departed", for which he received an Academy Award nomination for Best Supporting Actor. In the 2010s, he starred in the action comedy "The Other Guys" alongside Will Ferrell, the biographical sports drama "The Fighter" (for which he earned an Academy Award nomination as a producer for Best Picture), the comedy "Ted", the war film "Lone Survivor", the crime comedy "Pain & Gain", the science fiction action film "" and the sequel "", the comedy "Daddy's Home", the disaster film "Deepwater Horizon", and the thriller "Patriots Day".
Document 12: Ben Affleck: Benjamin Geza Affleck-Boldt (born August 15, 1972) is an American actor, director, screenwriter, and producer. His accolades include two Academy Awards, three Golden Globe Awards, two BAFTA Awards and two Screen Actors Guild Awards. He began his career as a child and starred in the PBS educational series "The Voyage of the Mimi" in 1984, before a second run in 1988. He later appeared in the independent coming-of-age comedy "Dazed and Confused" (1993) and various Kevin Smith films including "Chasing Amy" (1997) and "Dogma" (1999). Affleck gained wider recognition when he and childhood friend Matt Damon won the Golden Globe and Academy Award for Best Original Screenplay for "Good Will Hunting" (1997). He then established himself as a leading man in studio films including the disaster drama "Armageddon" (1998), the romantic comedy "Forces of Nature" (1999), the war drama "Pearl Harbor" (2001) and the thriller "Changing Lanes" (2002).
Document 13: Infernal Affairs III: Infernal Affairs III is a 2003 Hong Kong crime thriller film directed by Andrew Lau and Alan Mak. It is the third and final installment in the "Infernal Affairs" film series, and is both a sequel and a semi-prequel to the original film, as it intercuts events before and after the events in the first film. Andy Lau, Tony Leung, Kelly Chen, Anthony Wong, Eric Tsang, and Chapman To reprise their roles again, joined by new cast members Leon Lai and Chen Daoming.
Document 14: Boogie Nights: Boogie Nights is a 1997 American drama film written, produced and directed by Paul Thomas Anderson. It is set in Los Angeles' San Fernando Valley and focuses on a young nightclub dishwasher who becomes a popular star of pornographic films, chronicling his rise in the Golden Age of Porn of the 1970s through to his fall during the excesses of the 1980s. The film is an expansion of Anderson's mockumentary short film "The Dirk Diggler Story" (1988). It stars Mark Wahlberg, Julianne Moore, Burt Reynolds, Don Cheadle, John C. Reilly, William H. Macy, Philip Seymour Hoffman and Heather Graham.
Document 15: Peter Berg: Peter Berg (born March 11, 1964) is an American director, actor, producer, and writer of film, television, and music videos. His directorial film works include the black comedy "Very Bad Things" (1998), the action comedy "The Rundown" (2003), the sports drama "Friday Night Lights" (2004), the action thriller "The Kingdom" (2007), the superhero comedy-drama "Hancock" (2008), the military science fiction war film "Battleship" (2012), the war film "Lone Survivor" (2013), the disaster drama "Deepwater Horizon" (2016), and the Boston Marathon bombing drama "Patriots Day" (2016), the latter three all starring Mark Wahlberg. In addition to cameo appearances in the last six of these titles, he has had prominent acting roles in films including "Cop Land" (1997), "Corky Romano" (2001), "Collateral" (2004), "Smokin' Aces" (2006) and "Lions for Lambs" (2007).
ground_truth: 2006