As a major general, Mattis commanded the 1st Marine Division during the 2003 invasion of Iraq and the Iraq War. Mattis played key roles in combat operations in Fallujah, including negotiation with the insurgent command inside the city during Operation Vigilant Resolve in April 2004, as well as participation in planning of the subsequent Operation Phantom Fury in November.