In 2008, fighting continued and Iraq's newly trained armed forces launched attacks against militants. The Iraqi government signed the US–Iraq Status of Forces Agreement, which required US forces to withdraw from Iraqi cities by 30 June 2009 and to withdraw completely from Iraq by 31 December 2011.