300 is a 2006 American epic historical action film loosely based on the 1998 comic series of the same name by Frank Miller and Lynn Varley. Both are fictionalized retellings of the Battle of Thermopylae in the Greco-Persian Wars. The film was co-written and directed by Zack Snyder, while Miller served as executive producer and consultant. It was filmed mostly with a superimposition chroma key technique to replicate the imagery of the original comic book. The plot revolves around King Leonidas, who leads 300 Spartans into battle against the Persian "God-King" Xerxes and his invading army of more than 300,000 soldiers. As the battle rages, Queen Gorgo attempts to rally support in Sparta for her husband.