The Patriot is a 2000 American epic historical war movie written by Robert Rodat and directed by Roland Emmerich . It stars Mel Gibson , Chris Cooper , Heath Ledger and Jason Isaacs .