The Iraqi Army in its modern form was first created by the United Kingdom during the inter-war period of "de facto" British control of Mandatory Iraq. Following the invasion of Iraq by U.S. forces in 2003, the Iraqi Army was rebuilt along U.S. lines with enormous amounts of U.S. military assistance at every level. Because of the Iraqi insurgency that began shortly after the invasion, the Iraqi Army was later designed to initially be a counter-insurgency force. With the withdrawal of U.S. troops in 2010, Iraqi forces have assumed full responsibility for their own security. A "New York Times" article suggested that, between 2004 and 2014, the U.S. had provided the Iraqi Army with $25 billion in training and equipment in addition to an even larger sum from the Iraqi treasury.