Smith's fourth film, "Dogma" (1999), featured an all-star cast and was mired in controversy. A religious-themed comedy that starred a post-"Good Will Hunting" Ben Affleck and Matt Damon, as well as Chris Rock, Salma Hayek, George Carlin, Alan Rickman, Linda Fiorentino, and Lee and Mewes, it was criticized by the Catholic League. The film debuted at the 1999 Cannes Film Festival, out of competition. Released on 800 screens in November 1999, the $10 million film earned $30 million.