In 2012, Wahlberg starred in Seth MacFarlane's hit comedy "Ted", reprising the same role in its 2015 sequel. Wahlberg later starred as Navy SEAL Marcus Luttrell in the war film "Lone Survivor" (2013), based on Luttrell's 2007 book of the same name. The film received commercial success and mostly positive reviews, and Wahlberg's performance was highly praised. In 2014, Wahlberg starred in the remake of "The Gambler", the 1974 James Caan film that was loosely inspired by the Dostoyevsky novella. In 2014, Wahlberg was the producer of the reality show "Breaking Boston", which was pulled off the air after its premiere had 311,000 viewers. He executive-produced one episode of "Wahlburgers", while co-starring in it. In 2015, he starred opposite Will Ferrell in the comedy "Daddy's Home". In 2016, he starred in two Peter Berg films, "Deepwater Horizon", a film about the 2010 "Deepwater Horizon" oil spill, and "Patriots Day," a film about the 2013 Boston Marathon bombing.