Dogma is a 1999 American fantasy comedy film written, co-edited, and directed by Kevin Smith. The film stars Ben Affleck, Matt Damon, Linda Fiorentino, Salma Hayek, Jason Lee, Jason Mewes, Alan Rickman, and Chris Rock. It is the fourth film in the View Askewniverse. The story revolves around two fallen angels who plan to employ an alleged loophole in Catholic dogma to return to Heaven after being cast out by God, but as existence is founded on the principle that God is infallible, their success would prove God wrong, thus undoing all creation.