Between September 2001 and October 2012, lawmakers have appropriated about $1.4 trillion (including an estimated $127 billion for fiscal year 2012) for operations in Iraq and Afghanistan and for other war-related activities. Of that funding, about $1.25 trillion has gone to the Department of Defense, with nearly $150 billion provided for training indigenous security forces and for diplomatic relations and foreign aid for Iraq and Afghanistan.